pub enum Call {
Create {
node: u32,
tag: String,
},
CreateText {
node: u32,
text: String,
},
SetAttr {
node: u32,
name: String,
value: String,
},
RemoveAttr {
node: u32,
name: String,
},
SetText {
node: u32,
text: String,
},
Insert {
parent: u32,
child: u32,
before: Option<u32>,
},
Remove {
parent: u32,
child: u32,
},
Listen {
node: u32,
event: String,
},
Sheet {
key: String,
on: bool,
},
}Expand description
One renderer call.
Variants§
Create
CreateText
SetAttr
RemoveAttr
FRAME-50: an attribute taken off.
SetText
Insert
Remove
Listen
Sheet
FRAME-30: a sheet adopted by the page (on) or dropped.
Implementations§
Trait Implementations§
impl Eq for Call
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.