Enum vertigo::DriverDomCommand
source · pub enum DriverDomCommand {
Show 13 variants
CreateNode {
id: DomId,
name: StaticString,
},
CreateText {
id: DomId,
value: String,
},
UpdateText {
id: DomId,
value: String,
},
SetAttr {
id: DomId,
name: StaticString,
value: String,
},
RemoveAttr {
id: DomId,
name: StaticString,
},
RemoveNode {
id: DomId,
},
RemoveText {
id: DomId,
},
InsertBefore {
parent: DomId,
child: DomId,
ref_id: Option<DomId>,
},
InsertCss {
selector: String,
value: String,
},
CreateComment {
id: DomId,
value: String,
},
RemoveComment {
id: DomId,
},
CallbackAdd {
id: DomId,
event_name: String,
callback_id: CallbackId,
},
CallbackRemove {
id: DomId,
event_name: String,
callback_id: CallbackId,
},
}
Variants§
CreateNode
CreateText
UpdateText
SetAttr
RemoveAttr
RemoveNode
RemoveText
InsertBefore
InsertCss
CreateComment
RemoveComment
CallbackAdd
CallbackRemove
Implementations§
source§impl DriverDomCommand
impl DriverDomCommand
pub fn into_string(self) -> JsJson
Trait Implementations§
source§impl Clone for DriverDomCommand
impl Clone for DriverDomCommand
source§fn clone(&self) -> DriverDomCommand
fn clone(&self) -> DriverDomCommand
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DriverDomCommand
impl RefUnwindSafe for DriverDomCommand
impl Send for DriverDomCommand
impl Sync for DriverDomCommand
impl Unpin for DriverDomCommand
impl UnwindSafe for DriverDomCommand
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