pub struct VariantList {
pub variant: Option<Vec<KeyboardVariant>>,
}Expand description
A list of possible variants of a keyboard layout.
Fields§
§variant: Option<Vec<KeyboardVariant>>Trait Implementations§
Source§impl Clone for VariantList
impl Clone for VariantList
Source§fn clone(&self) -> VariantList
fn clone(&self) -> VariantList
Returns a duplicate 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 VariantList
impl Debug for VariantList
Source§impl<'de> Deserialize<'de> for VariantList
impl<'de> Deserialize<'de> for VariantList
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
Auto Trait Implementations§
impl Freeze for VariantList
impl RefUnwindSafe for VariantList
impl Send for VariantList
impl Sync for VariantList
impl Unpin for VariantList
impl UnwindSafe for VariantList
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