#[repr(C)]pub enum VSMapAppendMode {
Replace = 0,
Append = 1,
}
Expand description
Controls the behaviour of mapSetInt()
and friends.
Variants§
Replace = 0
All existing values associated with the key will be replaced with the new value.
Append = 1
The new value will be appended to the list of existing values associated with the key.
Trait Implementations§
Source§impl Clone for VSMapAppendMode
impl Clone for VSMapAppendMode
Source§fn clone(&self) -> VSMapAppendMode
fn clone(&self) -> VSMapAppendMode
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 VSMapAppendMode
impl Debug for VSMapAppendMode
Source§impl Hash for VSMapAppendMode
impl Hash for VSMapAppendMode
Source§impl Ord for VSMapAppendMode
impl Ord for VSMapAppendMode
Source§fn cmp(&self, other: &VSMapAppendMode) -> Ordering
fn cmp(&self, other: &VSMapAppendMode) -> 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 VSMapAppendMode
impl PartialEq for VSMapAppendMode
Source§impl PartialOrd for VSMapAppendMode
impl PartialOrd for VSMapAppendMode
impl Copy for VSMapAppendMode
impl Eq for VSMapAppendMode
impl StructuralPartialEq for VSMapAppendMode
Auto Trait Implementations§
impl Freeze for VSMapAppendMode
impl RefUnwindSafe for VSMapAppendMode
impl Send for VSMapAppendMode
impl Sync for VSMapAppendMode
impl Unpin for VSMapAppendMode
impl UnwindSafe for VSMapAppendMode
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