Enum sauron::MountAction
source · pub enum MountAction {
Append,
ClearAppend,
Replace,
}
Expand description
specify how the App is mounted to the DOM
Variants§
Append
append the APP’s root node to the target mount node
ClearAppend
clear any children of the target mount node then append the APP’s root node
Replace
replace the target mount node with the APP’s root node
Trait Implementations§
source§impl Clone for MountAction
impl Clone for MountAction
source§fn clone(&self) -> MountAction
fn clone(&self) -> MountAction
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 moreimpl Copy for MountAction
Auto Trait Implementations§
impl Freeze for MountAction
impl RefUnwindSafe for MountAction
impl Send for MountAction
impl Sync for MountAction
impl Unpin for MountAction
impl UnwindSafe for MountAction
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