pub enum RamState {
AllZeros,
AllOnes,
Random,
}
Expand description
RAM in a given state on startup.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RamState
impl<'de> Deserialize<'de> for RamState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for RamState
impl Eq for RamState
impl StructuralPartialEq for RamState
Auto Trait Implementations§
impl Freeze for RamState
impl RefUnwindSafe for RamState
impl Send for RamState
impl Sync for RamState
impl Unpin for RamState
impl UnwindSafe for RamState
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