Struct shardize_core::TraitDefinition
source · [−]pub struct TraitDefinition(_);
Implementations
sourceimpl TraitDefinition
impl TraitDefinition
pub fn name(&self) -> &Ident
pub fn to_token_stream(&self) -> TokenStream
pub fn impl_methods(&self) -> TokenStream
Trait Implementations
sourceimpl Parse for TraitDefinition
impl Parse for TraitDefinition
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations
impl RefUnwindSafe for TraitDefinition
impl !Send for TraitDefinition
impl !Sync for TraitDefinition
impl Unpin for TraitDefinition
impl UnwindSafe for TraitDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more