pub struct StateObjectLayout<A> {
pub address: A,
pub width: usize,
pub is_4state: bool,
}Expand description
One semantic state object that requires stable storage.
Fields§
§address: A§width: usize§is_4state: boolTrait Implementations§
Source§impl<A: Clone> Clone for StateObjectLayout<A>
impl<A: Clone> Clone for StateObjectLayout<A>
Source§fn clone(&self) -> StateObjectLayout<A>
fn clone(&self) -> StateObjectLayout<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<A: Copy> Copy for StateObjectLayout<A>
Source§impl<A: Debug> Debug for StateObjectLayout<A>
impl<A: Debug> Debug for StateObjectLayout<A>
impl<A: Eq> Eq for StateObjectLayout<A>
Source§impl<A: PartialEq> PartialEq for StateObjectLayout<A>
impl<A: PartialEq> PartialEq for StateObjectLayout<A>
impl<A: PartialEq> StructuralPartialEq for StateObjectLayout<A>
Auto Trait Implementations§
impl<A> Freeze for StateObjectLayout<A>where
A: Freeze,
impl<A> RefUnwindSafe for StateObjectLayout<A>where
A: RefUnwindSafe,
impl<A> Send for StateObjectLayout<A>where
A: Send,
impl<A> Sync for StateObjectLayout<A>where
A: Sync,
impl<A> Unpin for StateObjectLayout<A>where
A: Unpin,
impl<A> UnsafeUnpin for StateObjectLayout<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for StateObjectLayout<A>where
A: UnwindSafe,
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