#[non_exhaustive]pub enum IncRootAction {
Add,
Remove,
}Expand description
Include-root action.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for IncRootAction
impl Clone for IncRootAction
Source§fn clone(&self) -> IncRootAction
fn clone(&self) -> IncRootAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IncRootAction
impl Debug for IncRootAction
Source§impl Hash for IncRootAction
impl Hash for IncRootAction
Source§impl PartialEq for IncRootAction
impl PartialEq for IncRootAction
Source§fn eq(&self, other: &IncRootAction) -> bool
fn eq(&self, other: &IncRootAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IncRootAction
impl Eq for IncRootAction
impl StructuralPartialEq for IncRootAction
Auto Trait Implementations§
impl Freeze for IncRootAction
impl RefUnwindSafe for IncRootAction
impl Send for IncRootAction
impl Sync for IncRootAction
impl Unpin for IncRootAction
impl UnsafeUnpin for IncRootAction
impl UnwindSafe for IncRootAction
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