Enum pleaser::ReasonType
source · pub enum ReasonType {
Need(bool),
Text(String),
}
Variants§
Trait Implementations§
source§impl Clone for ReasonType
impl Clone for ReasonType
source§fn clone(&self) -> ReasonType
fn clone(&self) -> ReasonType
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 ReasonType
impl Debug for ReasonType
source§impl PartialEq for ReasonType
impl PartialEq for ReasonType
source§fn eq(&self, other: &ReasonType) -> bool
fn eq(&self, other: &ReasonType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ReasonType
impl StructuralPartialEq for ReasonType
Auto Trait Implementations§
impl Freeze for ReasonType
impl RefUnwindSafe for ReasonType
impl Send for ReasonType
impl Sync for ReasonType
impl Unpin for ReasonType
impl UnwindSafe for ReasonType
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