pub struct text;Implementations§
source§impl text
impl text
pub const color: (&'static str, Option<&'static str>, bool) = ("color", None, false)
pub const text_shadow: (&'static str, Option<&'static str>, bool) = ("text_shadow", None, false)
pub const layer: (&'static str, Option<&'static str>, bool) = ("layer", None, false)
pub const height: (&'static str, Option<&'static str>, bool) = ("height", None, false)
pub const width: (&'static str, Option<&'static str>, bool) = ("width", None, false)
pub const font_size: (&'static str, Option<&'static str>, bool) = ("font_size", None, false)
pub const font_family: (&'static str, Option<&'static str>, bool) = ("font_family", None, false)
pub const font_style: (&'static str, Option<&'static str>, bool) = ("font_style", None, false)
pub const font_weight: (&'static str, Option<&'static str>, bool) = ("font_weight", None, false)
pub const font_width: (&'static str, Option<&'static str>, bool) = ("font_width", None, false)
pub const line_height: (&'static str, Option<&'static str>, bool) = ("line_height", None, false)
pub const letter_spacing: (&'static str, Option<&'static str>, bool) = ("letter_spacing", None, false)
pub const word_spacing: (&'static str, Option<&'static str>, bool) = ("word_spacing", None, false)
pub const decoration: (&'static str, Option<&'static str>, bool) = ("decoration", None, false)
pub const decoration_style: (&'static str, Option<&'static str>, bool) = ("decoration_style", None, false)
pub const decoration_color: (&'static str, Option<&'static str>, bool) = ("decoration_color", None, false)
Trait Implementations§
impl GlobalAttributes for text
Auto Trait Implementations§
impl RefUnwindSafe for text
impl Send for text
impl Sync for text
impl Unpin for text
impl UnwindSafe for text
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer