pub struct AttributedNonAnyType<'a> {
pub attributes: Option<ExtendedAttributeList<'a>>,
pub type_: NonAnyType<'a>,
}
Expand description
Parses [attributes]? type
where the type is a single non-any type
Fields§
§attributes: Option<ExtendedAttributeList<'a>>
§type_: NonAnyType<'a>
Trait Implementations§
Source§impl<'a> Clone for AttributedNonAnyType<'a>
impl<'a> Clone for AttributedNonAnyType<'a>
Source§fn clone(&self) -> AttributedNonAnyType<'a>
fn clone(&self) -> AttributedNonAnyType<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for AttributedNonAnyType<'a>
impl<'a> Debug for AttributedNonAnyType<'a>
Source§impl<'a> From<AttributedNonAnyType<'a>> for UnionMemberType<'a>
impl<'a> From<AttributedNonAnyType<'a>> for UnionMemberType<'a>
Source§fn from(x: AttributedNonAnyType<'a>) -> Self
fn from(x: AttributedNonAnyType<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for AttributedNonAnyType<'a>
impl<'a> Hash for AttributedNonAnyType<'a>
Source§impl<'a> Ord for AttributedNonAnyType<'a>
impl<'a> Ord for AttributedNonAnyType<'a>
Source§fn cmp(&self, other: &AttributedNonAnyType<'a>) -> Ordering
fn cmp(&self, other: &AttributedNonAnyType<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for AttributedNonAnyType<'a>
impl<'a> Parse<'a> for AttributedNonAnyType<'a>
Source§impl<'a> PartialEq for AttributedNonAnyType<'a>
impl<'a> PartialEq for AttributedNonAnyType<'a>
Source§impl<'a> PartialOrd for AttributedNonAnyType<'a>
impl<'a> PartialOrd for AttributedNonAnyType<'a>
impl<'a> Eq for AttributedNonAnyType<'a>
impl<'a> StructuralPartialEq for AttributedNonAnyType<'a>
Auto Trait Implementations§
impl<'a> Freeze for AttributedNonAnyType<'a>
impl<'a> RefUnwindSafe for AttributedNonAnyType<'a>
impl<'a> Send for AttributedNonAnyType<'a>
impl<'a> Sync for AttributedNonAnyType<'a>
impl<'a> Unpin for AttributedNonAnyType<'a>
impl<'a> UnwindSafe for AttributedNonAnyType<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more