pub struct TraitMemberType {
pub extent: Extent,
pub name: Ident,
pub bounds: Option<TraitBounds>,
pub default: Option<Type>,
pub whitespace: Vec<Whitespace>,
}Expand description
Fields§
§extent: Extent§name: Ident§bounds: Option<TraitBounds>§default: Option<Type>§whitespace: Vec<Whitespace>Trait Implementations§
Source§impl Debug for TraitMemberType
impl Debug for TraitMemberType
Source§impl<'a> Index<&'a TraitMemberType> for str
impl<'a> Index<&'a TraitMemberType> for str
Source§impl Index<TraitMemberType> for str
impl Index<TraitMemberType> for str
Auto Trait Implementations§
impl Freeze for TraitMemberType
impl RefUnwindSafe for TraitMemberType
impl Send for TraitMemberType
impl Sync for TraitMemberType
impl Unpin for TraitMemberType
impl UnsafeUnpin for TraitMemberType
impl UnwindSafe for TraitMemberType
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