pub struct GetAnimatedStylesForNodeReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetAnimatedStylesForNodeReturnObject.
Implementations§
Source§impl GetAnimatedStylesForNodeReturnObjectBuilder
impl GetAnimatedStylesForNodeReturnObjectBuilder
Sourcepub fn animation_styles(
&mut self,
value: Option<Vec<CssAnimationStyle>>,
) -> &mut Self
pub fn animation_styles( &mut self, value: Option<Vec<CssAnimationStyle>>, ) -> &mut Self
Styles coming from animations.
Sourcepub fn transitions_style(&mut self, value: Option<CssStyle>) -> &mut Self
pub fn transitions_style(&mut self, value: Option<CssStyle>) -> &mut Self
Style coming from transitions.
Sourcepub fn inherited(
&mut self,
value: Option<Vec<InheritedAnimatedStyleEntry>>,
) -> &mut Self
pub fn inherited( &mut self, value: Option<Vec<InheritedAnimatedStyleEntry>>, ) -> &mut Self
Inherited style entries for animationsStyle and transitionsStyle from the inheritance chain of the element.
Sourcepub fn build(
&self,
) -> Result<GetAnimatedStylesForNodeReturnObject, GetAnimatedStylesForNodeReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetAnimatedStylesForNodeReturnObject, GetAnimatedStylesForNodeReturnObjectBuilderError>
Builds a new GetAnimatedStylesForNodeReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for GetAnimatedStylesForNodeReturnObjectBuilder
impl Clone for GetAnimatedStylesForNodeReturnObjectBuilder
Source§fn clone(&self) -> GetAnimatedStylesForNodeReturnObjectBuilder
fn clone(&self) -> GetAnimatedStylesForNodeReturnObjectBuilder
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 GetAnimatedStylesForNodeReturnObjectBuilder
impl RefUnwindSafe for GetAnimatedStylesForNodeReturnObjectBuilder
impl Send for GetAnimatedStylesForNodeReturnObjectBuilder
impl Sync for GetAnimatedStylesForNodeReturnObjectBuilder
impl Unpin for GetAnimatedStylesForNodeReturnObjectBuilder
impl UnsafeUnpin for GetAnimatedStylesForNodeReturnObjectBuilder
impl UnwindSafe for GetAnimatedStylesForNodeReturnObjectBuilder
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