Struct virtue::parse::ConstGeneric
source · pub struct ConstGeneric { /* private fields */ }
Expand description
a const generic parameter, e.g. struct Foo<const N: usize> { .. }
Trait Implementations§
source§impl Clone for ConstGeneric
impl Clone for ConstGeneric
source§fn clone(&self) -> ConstGeneric
fn clone(&self) -> ConstGeneric
Returns a copy of the value. Read more
1.0.0 · 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 ConstGeneric
impl Debug for ConstGeneric
source§impl From<ConstGeneric> for Generic
impl From<ConstGeneric> for Generic
source§fn from(gen: ConstGeneric) -> Self
fn from(gen: ConstGeneric) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConstGeneric
impl RefUnwindSafe for ConstGeneric
impl !Send for ConstGeneric
impl !Sync for ConstGeneric
impl Unpin for ConstGeneric
impl UnwindSafe for ConstGeneric
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