pub struct MountProcedure {
pub action: MountAction,
pub target: MountTarget,
}
Expand description
specify how the root node will be mounted to the mount node
Fields§
§action: MountAction
instruction for mounting the app to the mount node
target: MountTarget
specify which part of the mount_node to attached to
Implementations§
Source§impl MountProcedure
impl MountProcedure
Sourcepub fn new(action: MountAction, target: MountTarget) -> Self
pub fn new(action: MountAction, target: MountTarget) -> Self
mount procedure with specified action and target
Sourcepub fn clear_append() -> Self
pub fn clear_append() -> Self
clear the mount node before appending
Sourcepub fn append_to_shadow() -> Self
pub fn append_to_shadow() -> Self
append to the mount node but on it’s shadow
Trait Implementations§
Source§impl Clone for MountProcedure
impl Clone for MountProcedure
Source§fn clone(&self) -> MountProcedure
fn clone(&self) -> MountProcedure
Returns a duplicate 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 moreSource§impl Default for MountProcedure
impl Default for MountProcedure
impl Copy for MountProcedure
Auto Trait Implementations§
impl Freeze for MountProcedure
impl RefUnwindSafe for MountProcedure
impl Send for MountProcedure
impl Sync for MountProcedure
impl Unpin for MountProcedure
impl UnwindSafe for MountProcedure
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