#[non_exhaustive]#[repr(u8)]pub enum GoalSource {
Auto = 0,
Community = 1,
User = 2,
}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.
Implementations§
Source§impl GoalSource
impl GoalSource
Trait Implementations§
Source§impl Clone for GoalSource
impl Clone for GoalSource
Source§fn clone(&self) -> GoalSource
fn clone(&self) -> GoalSource
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 GoalSource
impl Debug for GoalSource
Source§impl Hash for GoalSource
impl Hash for GoalSource
Source§impl PartialEq for GoalSource
impl PartialEq for GoalSource
Source§fn eq(&self, other: &GoalSource) -> bool
fn eq(&self, other: &GoalSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GoalSource
impl Eq for GoalSource
impl StructuralPartialEq for GoalSource
Auto Trait Implementations§
impl Freeze for GoalSource
impl RefUnwindSafe for GoalSource
impl Send for GoalSource
impl Sync for GoalSource
impl Unpin for GoalSource
impl UnsafeUnpin for GoalSource
impl UnwindSafe for GoalSource
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