pub struct CssKeyframesRuleBuilder { /* private fields */ }Expand description
Builder for CssKeyframesRule.
Implementations§
Source§impl CssKeyframesRuleBuilder
impl CssKeyframesRuleBuilder
Sourcepub fn animation_name<VALUE: Into<Value>>(&mut self, value: VALUE) -> &mut Self
pub fn animation_name<VALUE: Into<Value>>(&mut self, value: VALUE) -> &mut Self
Animation name.
Sourcepub fn keyframes<VALUE: Into<Vec<CssKeyframeRule>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn keyframes<VALUE: Into<Vec<CssKeyframeRule>>>( &mut self, value: VALUE, ) -> &mut Self
List of keyframes.
Sourcepub fn build(&self) -> Result<CssKeyframesRule, CssKeyframesRuleBuilderError>
pub fn build(&self) -> Result<CssKeyframesRule, CssKeyframesRuleBuilderError>
Trait Implementations§
Source§impl Clone for CssKeyframesRuleBuilder
impl Clone for CssKeyframesRuleBuilder
Source§fn clone(&self) -> CssKeyframesRuleBuilder
fn clone(&self) -> CssKeyframesRuleBuilder
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 CssKeyframesRuleBuilder
impl RefUnwindSafe for CssKeyframesRuleBuilder
impl Send for CssKeyframesRuleBuilder
impl Sync for CssKeyframesRuleBuilder
impl Unpin for CssKeyframesRuleBuilder
impl UnsafeUnpin for CssKeyframesRuleBuilder
impl UnwindSafe for CssKeyframesRuleBuilder
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