pub enum ComponentPresence {
Absent,
Present,
Unspecified,
}
Variants§
Trait Implementations§
source§impl Clone for ComponentPresence
impl Clone for ComponentPresence
source§fn clone(&self) -> ComponentPresence
fn clone(&self) -> ComponentPresence
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 moresource§impl Debug for ComponentPresence
impl Debug for ComponentPresence
source§impl PartialEq for ComponentPresence
impl PartialEq for ComponentPresence
source§fn eq(&self, other: &ComponentPresence) -> bool
fn eq(&self, other: &ComponentPresence) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComponentPresence
Auto Trait Implementations§
impl RefUnwindSafe for ComponentPresence
impl Send for ComponentPresence
impl Sync for ComponentPresence
impl Unpin for ComponentPresence
impl UnwindSafe for ComponentPresence
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