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