Struct freya_elements::elements::text
source · pub struct text;Implementations§
source§impl text
impl text
pub const color: AttributeDescription = _
pub const text_shadow: AttributeDescription = _
pub const layer: AttributeDescription = _
pub const height: AttributeDescription = _
pub const width: AttributeDescription = _
pub const font_size: AttributeDescription = _
pub const font_family: AttributeDescription = _
pub const font_style: AttributeDescription = _
pub const font_weight: AttributeDescription = _
pub const font_width: AttributeDescription = _
pub const line_height: AttributeDescription = _
pub const letter_spacing: AttributeDescription = _
pub const word_spacing: AttributeDescription = _
pub const decoration: AttributeDescription = _
pub const decoration_style: AttributeDescription = _
pub const decoration_color: AttributeDescription = _
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