Struct usi::OptionParams
source · [−]pub struct OptionParams {
pub name: String,
pub value: OptionKind,
}
Expand description
Represents parameters of “option” command.
Fields
name: String
value: OptionKind
Trait Implementations
sourceimpl Clone for OptionParams
impl Clone for OptionParams
sourcefn clone(&self) -> OptionParams
fn clone(&self) -> OptionParams
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 Debug for OptionParams
impl Debug for OptionParams
sourceimpl Hash for OptionParams
impl Hash for OptionParams
sourceimpl PartialEq<OptionParams> for OptionParams
impl PartialEq<OptionParams> for OptionParams
sourcefn eq(&self, other: &OptionParams) -> bool
fn eq(&self, other: &OptionParams) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OptionParams) -> bool
fn ne(&self, other: &OptionParams) -> bool
This method tests for !=
.
impl Eq for OptionParams
impl StructuralEq for OptionParams
impl StructuralPartialEq for OptionParams
Auto Trait Implementations
impl RefUnwindSafe for OptionParams
impl Send for OptionParams
impl Sync for OptionParams
impl Unpin for OptionParams
impl UnwindSafe for OptionParams
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