Struct bies::BiesString
source · pub struct BiesString<'a>(_);Trait Implementations§
source§impl<'a> Clone for BiesString<'a>
impl<'a> Clone for BiesString<'a>
source§fn clone(&self) -> BiesString<'a>
fn clone(&self) -> BiesString<'a>
Returns a copy of the value. Read more
1.0.0 · 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 BiesString<'_>
impl Debug for BiesString<'_>
source§impl Display for BiesString<'_>
impl Display for BiesString<'_>
This trait is implemented for compatibility with fmt!.
To create a string, Writeable::write_to_string is usually more efficient.
source§impl<'a> From<&'a Breakpoints> for BiesString<'a>
impl<'a> From<&'a Breakpoints> for BiesString<'a>
source§fn from(other: &'a Breakpoints) -> Self
fn from(other: &'a Breakpoints) -> Self
Converts to this type from the input type.
source§impl<'a> PartialEq<BiesString<'a>> for BiesString<'a>
impl<'a> PartialEq<BiesString<'a>> for BiesString<'a>
source§fn eq(&self, other: &BiesString<'a>) -> bool
fn eq(&self, other: &BiesString<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Writeable for BiesString<'_>
impl Writeable for BiesString<'_>
source§fn write_to<W: Write + ?Sized>(&self, sink: &mut W) -> Result
fn write_to<W: Write + ?Sized>(&self, sink: &mut W) -> Result
Writes a string to the given sink. Errors from the sink are bubbled up.
The default implementation delegates to
write_to_parts, and discards any
Part annotations.source§fn writeable_length_hint(&self) -> LengthHint
fn writeable_length_hint(&self) -> LengthHint
Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
source§fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>where
S: PartsWrite + ?Sized,
fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>where
S: PartsWrite + ?Sized,
Write bytes and
Part annotations to the given sink. Errors from the
sink are bubbled up. The default implementation delegates to write_to,
and doesn’t produce any Part annotations.