pub struct InheritedAnimatedStyleEntryBuilder { /* private fields */ }Expand description
Builder for InheritedAnimatedStyleEntry.
Implementations§
Source§impl InheritedAnimatedStyleEntryBuilder
impl InheritedAnimatedStyleEntryBuilder
Sourcepub fn animation_styles<VALUE: Into<Vec<CssAnimationStyle>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn animation_styles<VALUE: Into<Vec<CssAnimationStyle>>>( &mut self, value: VALUE, ) -> &mut Self
Styles coming from the animations of the ancestor, if any, in the style inheritance chain.
Sourcepub fn transitions_style<VALUE: Into<CssStyle>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn transitions_style<VALUE: Into<CssStyle>>( &mut self, value: VALUE, ) -> &mut Self
The style coming from the transitions of the ancestor, if any, in the style inheritance chain.
Sourcepub fn build(
&self,
) -> Result<InheritedAnimatedStyleEntry, InheritedAnimatedStyleEntryBuilderError>
pub fn build( &self, ) -> Result<InheritedAnimatedStyleEntry, InheritedAnimatedStyleEntryBuilderError>
Trait Implementations§
Source§impl Clone for InheritedAnimatedStyleEntryBuilder
impl Clone for InheritedAnimatedStyleEntryBuilder
Source§fn clone(&self) -> InheritedAnimatedStyleEntryBuilder
fn clone(&self) -> InheritedAnimatedStyleEntryBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for InheritedAnimatedStyleEntryBuilder
impl RefUnwindSafe for InheritedAnimatedStyleEntryBuilder
impl Send for InheritedAnimatedStyleEntryBuilder
impl Sync for InheritedAnimatedStyleEntryBuilder
impl Unpin for InheritedAnimatedStyleEntryBuilder
impl UnsafeUnpin for InheritedAnimatedStyleEntryBuilder
impl UnwindSafe for InheritedAnimatedStyleEntryBuilder
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