pub struct KeyboardContent {
pub rows: Option<Vec<KeyboardRow>>,
pub style: Option<KeyboardStyle>,
}Expand description
Keyboard content structure.
Fields§
§rows: Option<Vec<KeyboardRow>>Rows of buttons
style: Option<KeyboardStyle>Keyboard style
Trait Implementations§
Source§impl Clone for KeyboardContent
impl Clone for KeyboardContent
Source§fn clone(&self) -> KeyboardContent
fn clone(&self) -> KeyboardContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KeyboardContent
impl Debug for KeyboardContent
Source§impl Default for KeyboardContent
impl Default for KeyboardContent
Source§fn default() -> KeyboardContent
fn default() -> KeyboardContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyboardContent
impl<'de> Deserialize<'de> for KeyboardContent
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 PartialEq for KeyboardContent
impl PartialEq for KeyboardContent
Source§fn eq(&self, other: &KeyboardContent) -> bool
fn eq(&self, other: &KeyboardContent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KeyboardContent
impl Serialize for KeyboardContent
impl StructuralPartialEq for KeyboardContent
Auto Trait Implementations§
impl Freeze for KeyboardContent
impl RefUnwindSafe for KeyboardContent
impl Send for KeyboardContent
impl Sync for KeyboardContent
impl Unpin for KeyboardContent
impl UnsafeUnpin for KeyboardContent
impl UnwindSafe for KeyboardContent
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