pub struct PreviewState {
pub generation: u64,
pub active_key: Option<PreviewKey>,
pub content: Option<PreviewContent>,
pub loading: bool,
}Fields§
§generation: u64§active_key: Option<PreviewKey>§content: Option<PreviewContent>§loading: boolTrait Implementations§
Source§impl Clone for PreviewState
impl Clone for PreviewState
Source§fn clone(&self) -> PreviewState
fn clone(&self) -> PreviewState
Returns a duplicate 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 PreviewState
impl Debug for PreviewState
Source§impl Default for PreviewState
impl Default for PreviewState
Source§fn default() -> PreviewState
fn default() -> PreviewState
Returns the “default value” for a type. Read more
Source§impl PartialEq for PreviewState
impl PartialEq for PreviewState
impl Eq for PreviewState
impl StructuralPartialEq for PreviewState
Auto Trait Implementations§
impl Freeze for PreviewState
impl RefUnwindSafe for PreviewState
impl Send for PreviewState
impl Sync for PreviewState
impl Unpin for PreviewState
impl UnsafeUnpin for PreviewState
impl UnwindSafe for PreviewState
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.