pub struct InlineStyle {
pub normal_motion: Option<InlineMotion>,
pub important_motion: Option<InlineMotion>,
pub refinement: Option<Rc<StyleRefinement>>,
pub transitions: Option<Rc<Vec<TransitionSpec>>>,
pub animations: Option<Rc<Vec<AnimationSpec>>>,
pub animation_patch: Option<AnimationPatch>,
pub extras: Extras,
pub custom: Decls,
pub dynamic: Decls,
pub font: Option<Rc<Vec<Property<'static>>>>,
/* private fields */
}Fields§
§normal_motion: Option<InlineMotion>§important_motion: Option<InlineMotion>§refinement: Option<Rc<StyleRefinement>>§transitions: Option<Rc<Vec<TransitionSpec>>>None = the body declared no transition at all (which is what lets a matched rule’s list
survive); Some([]) is transition: none.
animations: Option<Rc<Vec<AnimationSpec>>>Inline animation: reka-ui’s Presence writes animationName = "none" to cancel an exit
animation, so it must be representable.
animation_patch: Option<AnimationPatch>Longhand-only animation-*; folding animationFillMode = "forwards" as a list would delete
the animation it means to freeze.
extras: Extras§custom: Decls§dynamic: Decls§font: Option<Rc<Vec<Property<'static>>>>An inline padding: .5em is the element’s own em, which the parse cannot know.
Implementations§
Trait Implementations§
Source§impl Clone for InlineStyle
impl Clone for InlineStyle
Source§impl Debug for InlineStyle
impl Debug for InlineStyle
Auto Trait Implementations§
impl !RefUnwindSafe for InlineStyle
impl !Send for InlineStyle
impl !Sync for InlineStyle
impl !UnwindSafe for InlineStyle
impl Forget for InlineStyle
impl Freeze for InlineStyle
impl Move for InlineStyle
impl Unpin for InlineStyle
impl UnsafeUnpin for InlineStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more