pub struct FontStyleAngle(pub Angle);
Expand description
A wrapper over an Angle
, that handles clamping to the appropriate range
for font-style
animation.
Tuple Fields§
§0: Angle
Trait Implementations§
source§impl Clone for FontStyleAngle
impl Clone for FontStyleAngle
source§fn clone(&self) -> FontStyleAngle
fn clone(&self) -> FontStyleAngle
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 FontStyleAngle
impl Debug for FontStyleAngle
source§impl<'de> Deserialize<'de> for FontStyleAngle
impl<'de> Deserialize<'de> for FontStyleAngle
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for FontStyleAngle
impl Hash for FontStyleAngle
source§impl MallocSizeOf for FontStyleAngle
impl MallocSizeOf for FontStyleAngle
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq<FontStyleAngle> for FontStyleAngle
impl PartialEq<FontStyleAngle> for FontStyleAngle
source§fn eq(&self, other: &FontStyleAngle) -> bool
fn eq(&self, other: &FontStyleAngle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FontStyleAngle
impl Serialize for FontStyleAngle
source§impl ToAnimatedValue for FontStyleAngle
impl ToAnimatedValue for FontStyleAngle
§type AnimatedValue = Angle
type AnimatedValue = Angle
The type of the animated value.
source§fn to_animated_value(self) -> Self::AnimatedValue
fn to_animated_value(self) -> Self::AnimatedValue
Converts this value to an animated value.
source§fn from_animated_value(animated: Self::AnimatedValue) -> Self
fn from_animated_value(animated: Self::AnimatedValue) -> Self
Converts back an animated value into a computed value.
source§impl ToCss for FontStyleAngle
impl ToCss for FontStyleAngle
source§impl ToResolvedValue for FontStyleAnglewhere
Angle: ToResolvedValue<ResolvedValue = Angle>,
impl ToResolvedValue for FontStyleAnglewhere
Angle: ToResolvedValue<ResolvedValue = Angle>,
§type ResolvedValue = FontStyleAngle
type ResolvedValue = FontStyleAngle
The resolved value type we’re going to be converted to.
source§fn from_resolved_value(from: Self::ResolvedValue) -> Self
fn from_resolved_value(from: Self::ResolvedValue) -> Self
Convert a resolved value to resolved value form.
source§fn to_resolved_value(self, context: &Context<'_>) -> Self::ResolvedValue
fn to_resolved_value(self, context: &Context<'_>) -> Self::ResolvedValue
Convert a resolved value to a resolved value.
impl Copy for FontStyleAngle
impl StructuralPartialEq for FontStyleAngle
Auto Trait Implementations§
impl RefUnwindSafe for FontStyleAngle
impl Send for FontStyleAngle
impl Sync for FontStyleAngle
impl Unpin for FontStyleAngle
impl UnwindSafe for FontStyleAngle
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert