pub(crate) struct ControlBlockStateArgs {
pub(crate) ident: Ident,
pub(crate) generics: Generics,
pub(crate) version: Option<u32>,
}Expand description
Attributes for the ControlBlockState derive macro.
Fields§
§ident: Ident§generics: Generics§version: Option<u32>State version for forward compatibility.
Trait Implementations§
Source§impl Debug for ControlBlockStateArgs
impl Debug for ControlBlockStateArgs
Source§impl FromDeriveInput for ControlBlockStateArgs
impl FromDeriveInput for ControlBlockStateArgs
Source§fn from_derive_input(__di: &DeriveInput) -> Result<Self>
fn from_derive_input(__di: &DeriveInput) -> Result<Self>
Create an instance from
syn::DeriveInput, or return an error.Auto Trait Implementations§
impl Freeze for ControlBlockStateArgs
impl RefUnwindSafe for ControlBlockStateArgs
impl !Send for ControlBlockStateArgs
impl !Sync for ControlBlockStateArgs
impl Unpin for ControlBlockStateArgs
impl UnwindSafe for ControlBlockStateArgs
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