Struct anchor_syn::State [−][src]
pub struct State { pub name: String, pub strct: ItemStruct, pub ctor_and_anchor: Option<(ImplItemMethod, Ident)>, pub impl_block_and_methods: Option<(ItemImpl, Vec<StateIx>)>, pub interfaces: Option<Vec<StateInterface>>, pub is_zero_copy: bool, }
Fields
name: String
strct: ItemStruct
ctor_and_anchor: Option<(ImplItemMethod, Ident)>
impl_block_and_methods: Option<(ItemImpl, Vec<StateIx>)>
interfaces: Option<Vec<StateInterface>>
is_zero_copy: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for State
impl !Send for State
impl !Sync for State
impl Unpin for State
impl UnwindSafe for State
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self