pub struct UpdateMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl UpdateMode
impl UpdateMode
pub const CONTINUOUS: UpdateMode
pub const DISCRETE: UpdateMode
pub const TRIGGER: UpdateMode
pub const CAPTURE: UpdateMode
Trait Implementations§
Source§impl Clone for UpdateMode
impl Clone for UpdateMode
Source§fn clone(&self) -> UpdateMode
fn clone(&self) -> UpdateMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateMode
impl Debug for UpdateMode
Source§impl From<UpdateMode> for i64
impl From<UpdateMode> for i64
Source§fn from(v: UpdateMode) -> Self
fn from(v: UpdateMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for UpdateMode
impl From<i64> for UpdateMode
Source§impl FromVariant for UpdateMode
impl FromVariant for UpdateMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for UpdateMode
impl Hash for UpdateMode
Source§impl Ord for UpdateMode
impl Ord for UpdateMode
Source§fn cmp(&self, other: &UpdateMode) -> Ordering
fn cmp(&self, other: &UpdateMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UpdateMode
impl PartialEq for UpdateMode
Source§impl PartialOrd for UpdateMode
impl PartialOrd for UpdateMode
impl Copy for UpdateMode
impl Eq for UpdateMode
impl StructuralPartialEq for UpdateMode
Auto Trait Implementations§
impl Freeze for UpdateMode
impl RefUnwindSafe for UpdateMode
impl Send for UpdateMode
impl Sync for UpdateMode
impl Unpin for UpdateMode
impl UnwindSafe for UpdateMode
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.