Struct xcb::xinput::AddMasterBuf
source · pub struct AddMasterBuf { /* private fields */ }
Implementations§
source§impl AddMasterBuf
impl AddMasterBuf
sourcepub fn new(
type: HierarchyChangeType,
len: u16,
send_core: bool,
enable: bool,
name: &[u8],
) -> AddMasterBuf
pub fn new( type: HierarchyChangeType, len: u16, send_core: bool, enable: bool, name: &[u8], ) -> AddMasterBuf
Construct a new AddMasterBuf.
Methods from Deref<Target = AddMaster>§
pub fn type(&self) -> HierarchyChangeType
pub fn len(&self) -> u16
pub fn send_core(&self) -> bool
pub fn enable(&self) -> bool
pub fn name(&self) -> &Lat1Str
Trait Implementations§
source§impl Borrow<AddMaster> for AddMasterBuf
impl Borrow<AddMaster> for AddMasterBuf
source§impl Clone for AddMasterBuf
impl Clone for AddMasterBuf
source§fn clone(&self) -> AddMasterBuf
fn clone(&self) -> AddMasterBuf
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 AddMasterBuf
impl Debug for AddMasterBuf
Auto Trait Implementations§
impl Freeze for AddMasterBuf
impl RefUnwindSafe for AddMasterBuf
impl Send for AddMasterBuf
impl Sync for AddMasterBuf
impl Unpin for AddMasterBuf
impl UnwindSafe for AddMasterBuf
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
)