Enum cyfs_lib::DeviceZoneCategory
source · #[repr(u8)]
pub enum DeviceZoneCategory {
CurrentDevice,
CurrentZone,
FriendZone,
OtherZone,
}
Variants
Implementations
Trait Implementations
sourceimpl Clone for DeviceZoneCategory
impl Clone for DeviceZoneCategory
sourcefn clone(&self) -> DeviceZoneCategory
fn clone(&self) -> DeviceZoneCategory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DeviceZoneCategory
impl Debug for DeviceZoneCategory
sourceimpl<'de> Deserialize<'de> for DeviceZoneCategory
impl<'de> Deserialize<'de> for DeviceZoneCategory
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromStr for DeviceZoneCategory
impl FromStr for DeviceZoneCategory
sourceimpl Into<AccessGroup> for DeviceZoneCategory
impl Into<AccessGroup> for DeviceZoneCategory
sourcefn into(self) -> AccessGroup
fn into(self) -> AccessGroup
Converts this type into the (usually inferred) input type.
sourceimpl Ord for DeviceZoneCategory
impl Ord for DeviceZoneCategory
sourcefn cmp(&self, other: &DeviceZoneCategory) -> Ordering
fn cmp(&self, other: &DeviceZoneCategory) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DeviceZoneCategory> for DeviceZoneCategory
impl PartialEq<DeviceZoneCategory> for DeviceZoneCategory
sourcefn eq(&self, other: &DeviceZoneCategory) -> bool
fn eq(&self, other: &DeviceZoneCategory) -> bool
sourceimpl PartialOrd<DeviceZoneCategory> for DeviceZoneCategory
impl PartialOrd<DeviceZoneCategory> for DeviceZoneCategory
sourcefn partial_cmp(&self, other: &DeviceZoneCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceZoneCategory) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for DeviceZoneCategory
impl Serialize for DeviceZoneCategory
sourceimpl ToString for DeviceZoneCategory
impl ToString for DeviceZoneCategory
impl Copy for DeviceZoneCategory
impl Eq for DeviceZoneCategory
impl StructuralEq for DeviceZoneCategory
impl StructuralPartialEq for DeviceZoneCategory
Auto Trait Implementations
impl RefUnwindSafe for DeviceZoneCategory
impl Send for DeviceZoneCategory
impl Sync for DeviceZoneCategory
impl Unpin for DeviceZoneCategory
impl UnwindSafe for DeviceZoneCategory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more