Struct x11rb_protocol::protocol::xkb::BellNotifyEvent
source · pub struct BellNotifyEvent {}
Fields§
§response_type: u8
§xkb_type: u8
§sequence: u16
§time: Timestamp
§device_id: u8
§bell_class: BellClassResult
§bell_id: u8
§percent: u8
§pitch: u16
§duration: u16
§name: Atom
§window: Window
§event_only: bool
Trait Implementations§
source§impl Clone for BellNotifyEvent
impl Clone for BellNotifyEvent
source§fn clone(&self) -> BellNotifyEvent
fn clone(&self) -> BellNotifyEvent
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 BellNotifyEvent
impl Debug for BellNotifyEvent
source§impl Default for BellNotifyEvent
impl Default for BellNotifyEvent
source§fn default() -> BellNotifyEvent
fn default() -> BellNotifyEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BellNotifyEvent
impl<'de> Deserialize<'de> for BellNotifyEvent
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<&BellNotifyEvent> for [u8; 32]
impl From<&BellNotifyEvent> for [u8; 32]
source§fn from(input: &BellNotifyEvent) -> Self
fn from(input: &BellNotifyEvent) -> Self
Converts to this type from the input type.
source§impl From<BellNotifyEvent> for [u8; 32]
impl From<BellNotifyEvent> for [u8; 32]
source§fn from(input: BellNotifyEvent) -> Self
fn from(input: BellNotifyEvent) -> Self
Converts to this type from the input type.
source§impl Hash for BellNotifyEvent
impl Hash for BellNotifyEvent
source§impl Ord for BellNotifyEvent
impl Ord for BellNotifyEvent
source§fn cmp(&self, other: &BellNotifyEvent) -> Ordering
fn cmp(&self, other: &BellNotifyEvent) -> 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 BellNotifyEvent
impl PartialEq for BellNotifyEvent
source§fn eq(&self, other: &BellNotifyEvent) -> bool
fn eq(&self, other: &BellNotifyEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BellNotifyEvent
impl PartialOrd for BellNotifyEvent
source§fn partial_cmp(&self, other: &BellNotifyEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &BellNotifyEvent) -> 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 BellNotifyEvent
impl Serialize for BellNotifyEvent
source§impl Serialize for BellNotifyEvent
impl Serialize for BellNotifyEvent
source§impl TryParse for BellNotifyEvent
impl TryParse for BellNotifyEvent
impl Copy for BellNotifyEvent
impl Eq for BellNotifyEvent
impl StructuralPartialEq for BellNotifyEvent
Auto Trait Implementations§
impl Freeze for BellNotifyEvent
impl RefUnwindSafe for BellNotifyEvent
impl Send for BellNotifyEvent
impl Sync for BellNotifyEvent
impl Unpin for BellNotifyEvent
impl UnwindSafe for BellNotifyEvent
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more