Struct anchor_syn::State
source · [−]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
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