pub struct ValveKeyValue {
pub key: String,
pub value: ValveKeyValueType,
}Fields§
§key: String§value: ValveKeyValueTypeImplementations§
Source§impl ValveKeyValue
impl ValveKeyValue
pub fn new(key: String, value: ValveKeyValueType) -> Self
Trait Implementations§
Source§impl Clone for ValveKeyValue
impl Clone for ValveKeyValue
Source§fn clone(&self) -> ValveKeyValue
fn clone(&self) -> ValveKeyValue
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 ValveKeyValue
impl Debug for ValveKeyValue
Source§impl Parse for ValveKeyValue
impl Parse for ValveKeyValue
Source§impl PartialEq for ValveKeyValue
impl PartialEq for ValveKeyValue
Source§fn eq(&self, other: &ValveKeyValue) -> bool
fn eq(&self, other: &ValveKeyValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValveKeyValue
impl Serialize for ValveKeyValue
impl StructuralPartialEq for ValveKeyValue
Auto Trait Implementations§
impl Freeze for ValveKeyValue
impl RefUnwindSafe for ValveKeyValue
impl Send for ValveKeyValue
impl Sync for ValveKeyValue
impl Unpin for ValveKeyValue
impl UnsafeUnpin for ValveKeyValue
impl UnwindSafe for ValveKeyValue
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