Enum Member
#[non_exhaustive]pub enum Member<'a> {
Error(ErrorDef<'a>),
Method(Method<'a>),
Type(TypeDef<'a>),
}Expand description
A declaration of an interface.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Error(ErrorDef<'a>)
An error declaration.
Method(Method<'a>)
A method declaration.
Type(TypeDef<'a>)
A type declaration.
Implementations§
Trait Implementations§
impl<'a> Copy for Member<'a>
impl<'a> Eq for Member<'a>
impl<'a> StructuralPartialEq for Member<'a>
Auto Trait Implementations§
impl<'a> Freeze for Member<'a>
impl<'a> RefUnwindSafe for Member<'a>
impl<'a> Send for Member<'a>
impl<'a> Sync for Member<'a>
impl<'a> Unpin for Member<'a>
impl<'a> UnsafeUnpin for Member<'a>
impl<'a> UnwindSafe for Member<'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