pub struct Trait {
pub extent: Extent,
pub visibility: Option<Visibility>,
pub is_unsafe: Option<Extent>,
pub is_auto: Option<Extent>,
pub name: Ident,
pub generics: Option<GenericDeclarations>,
pub bounds: Option<TraitBounds>,
pub wheres: Vec<Where>,
pub members: Vec<Attributed<TraitMember>>,
pub whitespace: Vec<Whitespace>,
}Expand description
Fields§
§extent: Extent§visibility: Option<Visibility>§is_unsafe: Option<Extent>§is_auto: Option<Extent>§name: Ident§generics: Option<GenericDeclarations>§bounds: Option<TraitBounds>§wheres: Vec<Where>§members: Vec<Attributed<TraitMember>>§whitespace: Vec<Whitespace>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trait
impl RefUnwindSafe for Trait
impl Send for Trait
impl Sync for Trait
impl Unpin for Trait
impl UnsafeUnpin for Trait
impl UnwindSafe for Trait
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