pub struct TraitDecl {
pub name: Ident,
pub members: Box<[ClassMember]>,
pub attributes: Box<[Attribute]>,
pub doc_comment: Option<Comment>,
}Fields§
§name: Ident§members: Box<[ClassMember]>§attributes: Box<[Attribute]>§doc_comment: Option<Comment>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TraitDecl
impl RefUnwindSafe for TraitDecl
impl Send for TraitDecl
impl Sync for TraitDecl
impl Unpin for TraitDecl
impl UnsafeUnpin for TraitDecl
impl UnwindSafe for TraitDecl
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