pub struct Persistent(pub bool);
Tuple Fields§
§0: bool
Trait Implementations§
Source§impl Clone for Persistent
impl Clone for Persistent
Source§fn clone(&self) -> Persistent
fn clone(&self) -> Persistent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Persistent
impl Debug for Persistent
Source§impl From<u32> for Persistent
impl From<u32> for Persistent
Source§impl PartialEq for Persistent
impl PartialEq for Persistent
Source§impl Property for Persistent
impl Property for Persistent
type Value = bool
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Persistent
impl Eq for Persistent
impl StructuralPartialEq for Persistent
Auto Trait Implementations§
impl Freeze for Persistent
impl RefUnwindSafe for Persistent
impl Send for Persistent
impl Sync for Persistent
impl Unpin for Persistent
impl UnwindSafe for Persistent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)