pub struct Trait {
pub name: String,
pub generics: Vec<Generic>,
pub methods: Vec<TraitMethod>,
pub visibility: Visibility,
pub span: Span,
}Fields§
§name: String§generics: Vec<Generic>§methods: Vec<TraitMethod>§visibility: Visibility§span: SpanTrait 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 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