pub struct AnyBitPattern;
Trait Implementations§
source§impl Derivable for AnyBitPattern
impl Derivable for AnyBitPattern
fn ident(_: &DeriveInput, crate_name: &TokenStream) -> Result<Path>
fn implies_trait(crate_name: &TokenStream) -> Option<TokenStream>
fn asserts(input: &DeriveInput, crate_name: &TokenStream) -> Result<TokenStream>
fn check_attributes(_ty: &Data, _attributes: &[Attribute]) -> Result<()>
fn trait_impl( _input: &DeriveInput, _crate_name: &TokenStream, ) -> Result<(TokenStream, TokenStream)>
fn requires_where_clause() -> bool
fn explicit_bounds_attribute_name() -> Option<&'static str>
source§fn perfect_derive_fields(_input: &DeriveInput) -> Option<Fields>
fn perfect_derive_fields(_input: &DeriveInput) -> Option<Fields>
If this trait has a custom meaning for “perfect derive”, this function
should be overridden to return
Some
. Read moreAuto Trait Implementations§
impl Freeze for AnyBitPattern
impl RefUnwindSafe for AnyBitPattern
impl Send for AnyBitPattern
impl Sync for AnyBitPattern
impl Unpin for AnyBitPattern
impl UnwindSafe for AnyBitPattern
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