pub struct CLIModificationElement<'a> { /* private fields */ }
Expand description
This is the struct through which the output of a CLIDisplayManager can be changed.
Implementations§
Source§impl<'a> CLIModificationElement<'a>
impl<'a> CLIModificationElement<'a>
Sourcepub fn push(&mut self, node_type: CLIDisplayNodeType)
pub fn push(&mut self, node_type: CLIDisplayNodeType)
Adds another parallel task or subtask if only the root node is present
Sourcepub fn make_sub(&mut self, node_type: CLIDisplayNodeType)
pub fn make_sub(&mut self, node_type: CLIDisplayNodeType)
Makes a new subtask for the current task
Sourcepub fn replace_root(&mut self, node_type: CLIDisplayNodeType)
pub fn replace_root(&mut self, node_type: CLIDisplayNodeType)
Replaces the root node with a different one
Auto Trait Implementations§
impl<'a> Freeze for CLIModificationElement<'a>
impl<'a> RefUnwindSafe for CLIModificationElement<'a>
impl<'a> Send for CLIModificationElement<'a>
impl<'a> Sync for CLIModificationElement<'a>
impl<'a> Unpin for CLIModificationElement<'a>
impl<'a> UnwindSafe for CLIModificationElement<'a>
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