Struct tox::toxcore::state_format::old::Name [−][src]
Own name, up to NAME_LEN
bytes long.
Trait Implementations
impl Clone for Name
[src]
impl Clone for Name
fn clone(&self) -> Name
[src]
fn clone(&self) -> Name
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 Debug for Name
[src]
impl Debug for Name
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 Default for Name
[src]
impl Default for Name
impl Eq for Name
[src]
impl Eq for Name
impl PartialEq for Name
[src]
impl PartialEq for Name
fn eq(&self, other: &Name) -> bool
[src]
fn eq(&self, other: &Name) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Name) -> bool
[src]
fn ne(&self, other: &Name) -> bool
This method tests for !=
.
impl FromBytes for Name
[src]
impl FromBytes for Name
Produces up to NAME_LEN
bytes long Name
.
Can't fail.
fn from_bytes<'a>(i: &'a [u8]) -> IResult<&'a [u8], Name, u32>
fn from_bytes<'a>(i: &'a [u8]) -> IResult<&'a [u8], Name, u32>
Deserialize struct using nom
from raw bytes
impl ToBytes for Name
[src]
impl ToBytes for Name