Struct lifx_core::LifxString [−][src]
pub struct LifxString(_);
Lifx strings are fixed-length (32-bytes maximum)
Methods
impl LifxString
[src]
impl LifxString
pub fn new(s: &str) -> LifxString
[src]
pub fn new(s: &str) -> LifxString
Trait Implementations
impl Debug for LifxString
[src]
impl Debug for LifxString
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for LifxString
[src]
impl Clone for LifxString
fn clone(&self) -> LifxString
[src]
fn clone(&self) -> LifxString
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for LifxString
[src]
impl PartialEq for LifxString
fn eq(&self, other: &LifxString) -> bool
[src]
fn eq(&self, other: &LifxString) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LifxString) -> bool
[src]
fn ne(&self, other: &LifxString) -> bool
This method tests for !=
.
impl Display for LifxString
[src]
impl Display for LifxString
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl PartialEq<str> for LifxString
[src]
impl PartialEq<str> for LifxString
Auto Trait Implementations
impl Send for LifxString
impl Send for LifxString
impl Sync for LifxString
impl Sync for LifxString