Struct bird_chat::component::KeyBindComponent
source · [−]pub struct KeyBindComponent {
pub keybind: String,
pub base: BaseComponent,
}Fields
keybind: Stringbase: BaseComponentImplementations
Trait Implementations
sourceimpl Clone for KeyBindComponent
impl Clone for KeyBindComponent
sourcefn clone(&self) -> KeyBindComponent
fn clone(&self) -> KeyBindComponent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Component for KeyBindComponent
impl Component for KeyBindComponent
fn get_base(&self) -> &BaseComponent
sourceimpl Debug for KeyBindComponent
impl Debug for KeyBindComponent
sourceimpl<'de> Deserialize<'de> for KeyBindComponent
impl<'de> Deserialize<'de> for KeyBindComponent
sourcefn 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
sourceimpl From<KeyBindComponent> for ComponentType
impl From<KeyBindComponent> for ComponentType
sourcefn from(component: KeyBindComponent) -> Self
fn from(component: KeyBindComponent) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<KeyBindComponent> for KeyBindComponent
impl PartialEq<KeyBindComponent> for KeyBindComponent
sourcefn eq(&self, other: &KeyBindComponent) -> bool
fn eq(&self, other: &KeyBindComponent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &KeyBindComponent) -> bool
fn ne(&self, other: &KeyBindComponent) -> bool
This method tests for !=.
sourceimpl Serialize for KeyBindComponent
impl Serialize for KeyBindComponent
impl StructuralPartialEq for KeyBindComponent
Auto Trait Implementations
impl RefUnwindSafe for KeyBindComponent
impl Send for KeyBindComponent
impl Sync for KeyBindComponent
impl Unpin for KeyBindComponent
impl UnwindSafe for KeyBindComponent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more