Struct x11rb_protocol::protocol::xkb::BehaviorType
source · pub struct BehaviorType(/* private fields */);
Implementations§
source§impl BehaviorType
impl BehaviorType
pub const DEFAULT: Self = _
pub const LOCK: Self = _
pub const RADIO_GROUP: Self = _
pub const OVERLAY1: Self = _
pub const OVERLAY2: Self = _
pub const PERMAMENT_LOCK: Self = _
pub const PERMAMENT_RADIO_GROUP: Self = _
pub const PERMAMENT_OVERLAY1: Self = _
pub const PERMAMENT_OVERLAY2: Self = _
Trait Implementations§
source§impl Clone for BehaviorType
impl Clone for BehaviorType
source§fn clone(&self) -> BehaviorType
fn clone(&self) -> BehaviorType
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 BehaviorType
impl Debug for BehaviorType
source§impl Default for BehaviorType
impl Default for BehaviorType
source§fn default() -> BehaviorType
fn default() -> BehaviorType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BehaviorType
impl<'de> Deserialize<'de> for BehaviorType
source§fn 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
source§impl From<BehaviorType> for Option<u16>
impl From<BehaviorType> for Option<u16>
source§fn from(input: BehaviorType) -> Self
fn from(input: BehaviorType) -> Self
Converts to this type from the input type.
source§impl From<BehaviorType> for Option<u32>
impl From<BehaviorType> for Option<u32>
source§fn from(input: BehaviorType) -> Self
fn from(input: BehaviorType) -> Self
Converts to this type from the input type.
source§impl From<BehaviorType> for Option<u8>
impl From<BehaviorType> for Option<u8>
source§fn from(input: BehaviorType) -> Self
fn from(input: BehaviorType) -> Self
Converts to this type from the input type.
source§impl From<BehaviorType> for u16
impl From<BehaviorType> for u16
source§fn from(input: BehaviorType) -> Self
fn from(input: BehaviorType) -> Self
Converts to this type from the input type.
source§impl From<BehaviorType> for u32
impl From<BehaviorType> for u32
source§fn from(input: BehaviorType) -> Self
fn from(input: BehaviorType) -> Self
Converts to this type from the input type.
source§impl From<BehaviorType> for u8
impl From<BehaviorType> for u8
source§fn from(input: BehaviorType) -> Self
fn from(input: BehaviorType) -> Self
Converts to this type from the input type.
source§impl From<u8> for BehaviorType
impl From<u8> for BehaviorType
source§impl Hash for BehaviorType
impl Hash for BehaviorType
source§impl Ord for BehaviorType
impl Ord for BehaviorType
source§fn cmp(&self, other: &BehaviorType) -> Ordering
fn cmp(&self, other: &BehaviorType) -> 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 BehaviorType
impl PartialEq for BehaviorType
source§fn eq(&self, other: &BehaviorType) -> bool
fn eq(&self, other: &BehaviorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BehaviorType
impl PartialOrd for BehaviorType
source§fn partial_cmp(&self, other: &BehaviorType) -> Option<Ordering>
fn partial_cmp(&self, other: &BehaviorType) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for BehaviorType
impl Serialize for BehaviorType
impl Copy for BehaviorType
impl Eq for BehaviorType
impl StructuralPartialEq for BehaviorType
Auto Trait Implementations§
impl Freeze for BehaviorType
impl RefUnwindSafe for BehaviorType
impl Send for BehaviorType
impl Sync for BehaviorType
impl Unpin for BehaviorType
impl UnwindSafe for BehaviorType
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