pub struct SetKeyframeKeyBuilder { /* private fields */ }Expand description
Builder for SetKeyframeKey.
Implementations§
Source§impl SetKeyframeKeyBuilder
impl SetKeyframeKeyBuilder
pub fn style_sheet_id<VALUE: Into<StyleSheetId>>( &mut self, value: VALUE, ) -> &mut Self
pub fn range<VALUE: Into<SourceRange>>(&mut self, value: VALUE) -> &mut Self
pub fn key_text<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<SetKeyframeKey, SetKeyframeKeyBuilderError>
pub fn build(&self) -> Result<SetKeyframeKey, SetKeyframeKeyBuilderError>
Trait Implementations§
Source§impl Clone for SetKeyframeKeyBuilder
impl Clone for SetKeyframeKeyBuilder
Source§fn clone(&self) -> SetKeyframeKeyBuilder
fn clone(&self) -> SetKeyframeKeyBuilder
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 SetKeyframeKeyBuilder
impl RefUnwindSafe for SetKeyframeKeyBuilder
impl Send for SetKeyframeKeyBuilder
impl Sync for SetKeyframeKeyBuilder
impl Unpin for SetKeyframeKeyBuilder
impl UnsafeUnpin for SetKeyframeKeyBuilder
impl UnwindSafe for SetKeyframeKeyBuilder
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