pub struct PortalMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl PortalMode
impl PortalMode
pub const STATIC: PortalMode
pub const DYNAMIC: PortalMode
pub const ROAMING: PortalMode
pub const GLOBAL: PortalMode
pub const IGNORE: PortalMode
Trait Implementations§
Source§impl Clone for PortalMode
impl Clone for PortalMode
Source§fn clone(&self) -> PortalMode
fn clone(&self) -> PortalMode
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 PortalMode
impl Debug for PortalMode
Source§impl From<PortalMode> for i64
impl From<PortalMode> for i64
Source§fn from(v: PortalMode) -> Self
fn from(v: PortalMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for PortalMode
impl From<i64> for PortalMode
Source§impl FromVariant for PortalMode
impl FromVariant for PortalMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for PortalMode
impl Hash for PortalMode
Source§impl Ord for PortalMode
impl Ord for PortalMode
Source§fn cmp(&self, other: &PortalMode) -> Ordering
fn cmp(&self, other: &PortalMode) -> 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 PortalMode
impl PartialEq for PortalMode
Source§impl PartialOrd for PortalMode
impl PartialOrd for PortalMode
impl Copy for PortalMode
impl Eq for PortalMode
impl StructuralPartialEq for PortalMode
Auto Trait Implementations§
impl Freeze for PortalMode
impl RefUnwindSafe for PortalMode
impl Send for PortalMode
impl Sync for PortalMode
impl Unpin for PortalMode
impl UnwindSafe for PortalMode
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.