Enum makepad_widgets::ApplyFrom
pub enum ApplyFrom {
NewFromDoc {
file_id: LiveFileId,
},
UpdateFromDoc {
file_id: LiveFileId,
},
New,
Animate,
AnimatorInit,
ApplyOver,
}
Variants§
NewFromDoc
Fields
§
file_id: LiveFileId
UpdateFromDoc
Fields
§
file_id: LiveFileId
New
Animate
AnimatorInit
ApplyOver
Implementations§
§impl ApplyFrom
impl ApplyFrom
pub fn is_from_doc(&self) -> bool
pub fn is_new_from_doc(&self) -> bool
pub fn file_id(&self) -> Option<LiveFileId>
Trait Implementations§
Auto Trait Implementations§
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> 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