pub enum ApplyFrom {
NewFromDoc {
file_id: LiveFileId,
},
UpdateFromDoc {
file_id: LiveFileId,
},
New,
Animate,
AnimatorInit,
Over,
}
Variants§
NewFromDoc
Fields
§
file_id: LiveFileId
UpdateFromDoc
Fields
§
file_id: LiveFileId
New
Animate
AnimatorInit
Over
Implementations§
Source§impl ApplyFrom
impl ApplyFrom
pub fn with_scope<'a, 'b, 'c>( self, scope: &'c mut Scope<'a, 'b>, ) -> Apply<'a, 'b, 'c>
Source§impl ApplyFrom
impl ApplyFrom
pub fn is_from_doc(&self) -> bool
pub fn is_new_from_doc(&self) -> bool
pub fn should_apply_reset(&self) -> bool
pub fn is_update_from_doc(&self) -> bool
pub fn file_id(&self) -> Option<LiveFileId>
pub fn to_live_ptr(&self, cx: &Cx, index: usize) -> Option<LivePtr>
Trait Implementations§
impl Copy for ApplyFrom
Auto Trait Implementations§
impl Freeze for ApplyFrom
impl RefUnwindSafe for ApplyFrom
impl Send for ApplyFrom
impl Sync for ApplyFrom
impl Unpin for ApplyFrom
impl UnwindSafe for ApplyFrom
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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