Enum vertigo::DriverDomCommand
source · pub enum DriverDomCommand {
Show 13 variants
MountNode {
id: DomId,
},
CreateNode {
id: DomId,
name: &'static str,
},
CreateText {
id: DomId,
value: String,
},
UpdateText {
id: DomId,
value: String,
},
SetAttr {
id: DomId,
name: &'static str,
value: String,
},
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
MountNode
Fields
id: DomId
CreateNode
CreateText
UpdateText
SetAttr
RemoveNode
Fields
id: DomId
RemoveText
Fields
id: DomId
InsertBefore
InsertCss
CreateComment
RemoveComment
Fields
id: DomId
CallbackAdd
CallbackRemove
Implementations
sourceimpl DriverDomCommand
impl DriverDomCommand
pub fn into_string(self) -> String
Trait Implementations
sourceimpl Clone for DriverDomCommand
impl Clone for DriverDomCommand
sourcefn clone(&self) -> DriverDomCommand
fn clone(&self) -> DriverDomCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for DriverDomCommand
impl Send for DriverDomCommand
impl Sync for DriverDomCommand
impl Unpin for DriverDomCommand
impl UnwindSafe for DriverDomCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more