pub struct GenericDeclarationType {
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 GenericDeclarationType
impl Debug for GenericDeclarationType
Source§impl<'a> Index<&'a GenericDeclarationType> for str
impl<'a> Index<&'a GenericDeclarationType> for str
Source§impl Index<GenericDeclarationType> for str
impl Index<GenericDeclarationType> for str
Auto Trait Implementations§
impl Freeze for GenericDeclarationType
impl RefUnwindSafe for GenericDeclarationType
impl Send for GenericDeclarationType
impl Sync for GenericDeclarationType
impl Unpin for GenericDeclarationType
impl UnsafeUnpin for GenericDeclarationType
impl UnwindSafe for GenericDeclarationType
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