Struct rckive_genpdf::style::StyledString
source · Expand description
Fields§
§s: String
The annotated string.
style: Style
The style annotation.
Implementations§
source§impl StyledString
impl StyledString
Trait Implementations§
source§impl Clone for StyledString
impl Clone for StyledString
source§fn clone(&self) -> StyledString
fn clone(&self) -> StyledString
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 StyledString
impl Debug for StyledString
source§impl Default for StyledString
impl Default for StyledString
source§fn default() -> StyledString
fn default() -> StyledString
Returns the “default value” for a type. Read more
source§impl<'a> From<&'a String> for StyledString
impl<'a> From<&'a String> for StyledString
source§fn from(s: &'a String) -> StyledString
fn from(s: &'a String) -> StyledString
Converts to this type from the input type.
source§impl<'a> From<&'a str> for StyledString
impl<'a> From<&'a str> for StyledString
source§fn from(s: &'a str) -> StyledString
fn from(s: &'a str) -> StyledString
Converts to this type from the input type.
source§impl<'s> From<&'s StyledString> for StyledCow<'s>
impl<'s> From<&'s StyledString> for StyledCow<'s>
source§fn from(s: &'s StyledString) -> StyledCow<'s>
fn from(s: &'s StyledString) -> StyledCow<'s>
Converts to this type from the input type.
source§impl<'s> From<&'s StyledString> for StyledStr<'s>
impl<'s> From<&'s StyledString> for StyledStr<'s>
source§fn from(s: &'s StyledString) -> StyledStr<'s>
fn from(s: &'s StyledString) -> StyledStr<'s>
Converts to this type from the input type.
source§impl From<String> for StyledString
impl From<String> for StyledString
source§fn from(s: String) -> StyledString
fn from(s: String) -> StyledString
Converts to this type from the input type.
source§impl<'s> From<StyledString> for StyledCow<'s>
impl<'s> From<StyledString> for StyledCow<'s>
source§fn from(s: StyledString) -> StyledCow<'s>
fn from(s: StyledString) -> StyledCow<'s>
Converts to this type from the input type.