Struct xcb::xinput::StringFeedbackStateBuf
source · pub struct StringFeedbackStateBuf { /* private fields */ }
Implementations§
source§impl StringFeedbackStateBuf
impl StringFeedbackStateBuf
sourcepub fn new(
class_id: FeedbackClass,
feedback_id: u8,
len: u16,
max_symbols: u16,
keysyms: &[Keysym],
) -> StringFeedbackStateBuf
pub fn new( class_id: FeedbackClass, feedback_id: u8, len: u16, max_symbols: u16, keysyms: &[Keysym], ) -> StringFeedbackStateBuf
Construct a new StringFeedbackStateBuf.
Methods from Deref<Target = StringFeedbackState>§
pub fn class_id(&self) -> FeedbackClass
pub fn feedback_id(&self) -> u8
pub fn len(&self) -> u16
pub fn max_symbols(&self) -> u16
pub fn keysyms(&self) -> &[Keysym]
Trait Implementations§
source§impl Borrow<StringFeedbackState> for StringFeedbackStateBuf
impl Borrow<StringFeedbackState> for StringFeedbackStateBuf
source§fn borrow(&self) -> &StringFeedbackState
fn borrow(&self) -> &StringFeedbackState
Immutably borrows from an owned value. Read more
source§impl Clone for StringFeedbackStateBuf
impl Clone for StringFeedbackStateBuf
source§fn clone(&self) -> StringFeedbackStateBuf
fn clone(&self) -> StringFeedbackStateBuf
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 StringFeedbackStateBuf
impl Debug for StringFeedbackStateBuf
Auto Trait Implementations§
impl Freeze for StringFeedbackStateBuf
impl RefUnwindSafe for StringFeedbackStateBuf
impl Send for StringFeedbackStateBuf
impl Sync for StringFeedbackStateBuf
impl Unpin for StringFeedbackStateBuf
impl UnwindSafe for StringFeedbackStateBuf
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
)