pub enum InitializationStrategy {
ReadState,
UseState(InitialState),
UseAndWriteState(InitialState),
}
Variants§
Trait Implementations§
Source§impl Clone for InitializationStrategy
impl Clone for InitializationStrategy
Source§fn clone(&self) -> InitializationStrategy
fn clone(&self) -> InitializationStrategy
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InitializationStrategy
impl Debug for InitializationStrategy
Source§impl Default for InitializationStrategy
impl Default for InitializationStrategy
Source§impl Hash for InitializationStrategy
impl Hash for InitializationStrategy
Source§impl Ord for InitializationStrategy
impl Ord for InitializationStrategy
Source§impl PartialEq for InitializationStrategy
impl PartialEq for InitializationStrategy
Source§impl PartialOrd for InitializationStrategy
impl PartialOrd for InitializationStrategy
Source§fn partial_cmp(&self, other: &InitializationStrategy) -> Option<Ordering>
fn partial_cmp(&self, other: &InitializationStrategy) -> Option<Ordering>
impl Copy for InitializationStrategy
impl Eq for InitializationStrategy
impl StructuralPartialEq for InitializationStrategy
Auto Trait Implementations§
impl Freeze for InitializationStrategy
impl RefUnwindSafe for InitializationStrategy
impl Send for InitializationStrategy
impl Sync for InitializationStrategy
impl Unpin for InitializationStrategy
impl UnwindSafe for InitializationStrategy
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)