Struct x11rb::protocol::xkb::BehaviorType
source · pub struct BehaviorType(/* private fields */);
Implementations§
source§impl BehaviorType
impl BehaviorType
pub const DEFAULT: BehaviorType = _
pub const LOCK: BehaviorType = _
pub const RADIO_GROUP: BehaviorType = _
pub const OVERLAY1: BehaviorType = _
pub const OVERLAY2: BehaviorType = _
pub const PERMAMENT_LOCK: BehaviorType = _
pub const PERMAMENT_RADIO_GROUP: BehaviorType = _
pub const PERMAMENT_OVERLAY1: BehaviorType = _
pub const PERMAMENT_OVERLAY2: BehaviorType = _
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 From<u8> for BehaviorType
impl From<u8> for BehaviorType
source§fn from(value: u8) -> BehaviorType
fn from(value: u8) -> BehaviorType
Converts to this type from the input type.
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 moreimpl Copy for BehaviorType
impl Eq for BehaviorType
impl StructuralEq for BehaviorType
impl StructuralPartialEq for BehaviorType
Auto Trait Implementations§
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