pub struct InterfaceSetting { /* private fields */ }Implementations§
Source§impl InterfaceSetting
impl InterfaceSetting
pub const fn new(key: InterfaceSettingKey, value: InterfaceSettingValue) -> Self
pub const fn key(&self) -> InterfaceSettingKey
pub fn value(&self) -> &InterfaceSettingValue
Trait Implementations§
Source§impl Clone for InterfaceSetting
impl Clone for InterfaceSetting
Source§fn clone(&self) -> InterfaceSetting
fn clone(&self) -> InterfaceSetting
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 InterfaceSetting
impl Debug for InterfaceSetting
Source§impl PartialEq for InterfaceSetting
impl PartialEq for InterfaceSetting
impl StructuralPartialEq for InterfaceSetting
Auto Trait Implementations§
impl Freeze for InterfaceSetting
impl RefUnwindSafe for InterfaceSetting
impl Send for InterfaceSetting
impl Sync for InterfaceSetting
impl Unpin for InterfaceSetting
impl UnsafeUnpin for InterfaceSetting
impl UnwindSafe for InterfaceSetting
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