Struct x11rb_protocol::protocol::xinput::RemoveMaster
source · pub struct RemoveMaster {
pub type_: HierarchyChangeType,
pub len: u16,
pub deviceid: DeviceId,
pub return_mode: ChangeMode,
pub return_pointer: DeviceId,
pub return_keyboard: DeviceId,
}
Fields§
§type_: HierarchyChangeType
§len: u16
§deviceid: DeviceId
§return_mode: ChangeMode
§return_pointer: DeviceId
§return_keyboard: DeviceId
Trait Implementations§
source§impl Clone for RemoveMaster
impl Clone for RemoveMaster
source§fn clone(&self) -> RemoveMaster
fn clone(&self) -> RemoveMaster
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 RemoveMaster
impl Debug for RemoveMaster
source§impl Default for RemoveMaster
impl Default for RemoveMaster
source§fn default() -> RemoveMaster
fn default() -> RemoveMaster
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RemoveMaster
impl<'de> Deserialize<'de> for RemoveMaster
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 Hash for RemoveMaster
impl Hash for RemoveMaster
source§impl Ord for RemoveMaster
impl Ord for RemoveMaster
source§fn cmp(&self, other: &RemoveMaster) -> Ordering
fn cmp(&self, other: &RemoveMaster) -> 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 RemoveMaster
impl PartialEq for RemoveMaster
source§fn eq(&self, other: &RemoveMaster) -> bool
fn eq(&self, other: &RemoveMaster) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RemoveMaster
impl PartialOrd for RemoveMaster
source§fn partial_cmp(&self, other: &RemoveMaster) -> Option<Ordering>
fn partial_cmp(&self, other: &RemoveMaster) -> 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 RemoveMaster
impl Serialize for RemoveMaster
source§impl Serialize for RemoveMaster
impl Serialize for RemoveMaster
source§impl TryParse for RemoveMaster
impl TryParse for RemoveMaster
impl Copy for RemoveMaster
impl Eq for RemoveMaster
impl StructuralPartialEq for RemoveMaster
Auto Trait Implementations§
impl Freeze for RemoveMaster
impl RefUnwindSafe for RemoveMaster
impl Send for RemoveMaster
impl Sync for RemoveMaster
impl Unpin for RemoveMaster
impl UnwindSafe for RemoveMaster
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<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more