pub struct UpdateOptions {
pub discrete: bool,
pub tags: Vec<String>,
pub skip_transforms: bool,
pub on_update: Option<Rc<dyn Fn()>>,
}Expand description
EditorUpdateOptions. event comes with its users.
Fields§
§discrete: boolCommit at the end of the update instead of at the next read.
Update tags (tag).
skip_transforms: bool§on_update: Option<Rc<dyn Fn()>>onUpdate: runs once the update commits, after its listeners and
before the callbacks of $onUpdate (on_update).
Trait Implementations§
Source§impl Clone for UpdateOptions
impl Clone for UpdateOptions
Source§impl Debug for UpdateOptions
impl Debug for UpdateOptions
Auto Trait Implementations§
impl !RefUnwindSafe for UpdateOptions
impl !Send for UpdateOptions
impl !Sync for UpdateOptions
impl !UnwindSafe for UpdateOptions
impl Forget for UpdateOptions
impl Freeze for UpdateOptions
impl Move for UpdateOptions
impl Unpin for UpdateOptions
impl UnsafeUnpin for UpdateOptions
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