Struct x11rb::protocol::xkb::BehaviorType
source · pub struct BehaviorType(u8);
Tuple Fields§
§0: u8
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§impl PartialOrd for BehaviorType
impl PartialOrd 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)