#[repr(u32)]pub enum PinningType {
None = 0,
ByName = 1,
}Expand description
The pinning type
Upon pinning a map, a file representation is created for the map, so that the map can be alive and retrievable across sessions.
Variants§
Trait Implementations§
Source§impl Clone for PinningType
impl Clone for PinningType
Source§fn clone(&self) -> PinningType
fn clone(&self) -> PinningType
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 PinningType
impl Debug for PinningType
Source§impl Default for PinningType
impl Default for PinningType
Source§fn default() -> PinningType
fn default() -> PinningType
Returns the “default value” for a type. Read more
Source§impl PartialEq for PinningType
impl PartialEq for PinningType
Source§impl TryFrom<u32> for PinningType
impl TryFrom<u32> for PinningType
impl Copy for PinningType
impl Eq for PinningType
impl StructuralPartialEq for PinningType
Auto Trait Implementations§
impl Freeze for PinningType
impl RefUnwindSafe for PinningType
impl Send for PinningType
impl Sync for PinningType
impl Unpin for PinningType
impl UnwindSafe for PinningType
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.