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>
impl<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