pub struct SetKeyframeKeyBuilder { /* private fields */ }Implementations§
Source§impl SetKeyframeKeyBuilder
impl SetKeyframeKeyBuilder
pub fn style_sheet_id(self, style_sheet_id: impl Into<StyleSheetId>) -> Self
pub fn range(self, range: impl Into<SourceRange>) -> Self
pub fn key_text(self, key_text: impl Into<String>) -> Self
pub fn build(self) -> Result<SetKeyframeKey, String>
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 moreSource§impl Default for SetKeyframeKeyBuilder
impl Default for SetKeyframeKeyBuilder
Source§fn default() -> SetKeyframeKeyBuilder
fn default() -> SetKeyframeKeyBuilder
Returns the “default value” for a type. Read more
Auto 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