pub struct AttrModelName { /* private fields */ }
Expand description
This string attribute is the model name of the device.
Implementations
sourceimpl AttrModelName
impl AttrModelName
pub fn into_inner(self) -> ViString
sourceimpl AttrModelName
impl AttrModelName
pub fn new(value: ViString) -> Self
pub unsafe fn new_unchecked(value: ViString) -> Self
pub fn new_checked(value: ViString) -> Option<Self>
Trait Implementations
sourceimpl AttrInner for AttrModelName
impl AttrInner for AttrModelName
sourceimpl Clone for AttrModelName
impl Clone for AttrModelName
sourcefn clone(&self) -> AttrModelName
fn clone(&self) -> AttrModelName
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 AttrModelName
impl Debug for AttrModelName
sourceimpl From<AttrModelName> for Attribute
impl From<AttrModelName> for Attribute
sourcefn from(s: AttrModelName) -> Self
fn from(s: AttrModelName) -> Self
Converts to this type from the input type.
sourceimpl Hash for AttrModelName
impl Hash for AttrModelName
sourceimpl Ord for AttrModelName
impl Ord for AttrModelName
sourceimpl PartialEq<AttrModelName> for AttrModelName
impl PartialEq<AttrModelName> for AttrModelName
sourcefn eq(&self, other: &AttrModelName) -> bool
fn eq(&self, other: &AttrModelName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AttrModelName) -> bool
fn ne(&self, other: &AttrModelName) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AttrModelName> for AttrModelName
impl PartialOrd<AttrModelName> for AttrModelName
sourcefn partial_cmp(&self, other: &AttrModelName) -> Option<Ordering>
fn partial_cmp(&self, other: &AttrModelName) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for AttrModelName
impl StructuralEq for AttrModelName
impl StructuralPartialEq for AttrModelName
Auto Trait Implementations
impl RefUnwindSafe for AttrModelName
impl !Send for AttrModelName
impl !Sync for AttrModelName
impl Unpin for AttrModelName
impl UnwindSafe for AttrModelName
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