pub struct TraitUseDecl {
pub traits: Box<[Name]>,
pub adaptations: Box<[TraitAdaptation]>,
pub adaptations_brace_start: Option<u32>,
}Fields§
§traits: Box<[Name]>§adaptations: Box<[TraitAdaptation]>§adaptations_brace_start: Option<u32>Trait Implementations§
Source§impl Clone for TraitUseDecl
impl Clone for TraitUseDecl
Source§fn clone(&self) -> TraitUseDecl
fn clone(&self) -> TraitUseDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TraitUseDecl
impl Debug for TraitUseDecl
Auto Trait Implementations§
impl Freeze for TraitUseDecl
impl RefUnwindSafe for TraitUseDecl
impl Send for TraitUseDecl
impl Sync for TraitUseDecl
impl Unpin for TraitUseDecl
impl UnsafeUnpin for TraitUseDecl
impl UnwindSafe for TraitUseDecl
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