Enum ostree::RepoCheckoutMode
source · #[non_exhaustive]
pub enum RepoCheckoutMode {
None,
User,
// some variants omitted
}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
sourceimpl Clone for RepoCheckoutMode
impl Clone for RepoCheckoutMode
sourcefn clone(&self) -> RepoCheckoutMode
fn clone(&self) -> RepoCheckoutMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RepoCheckoutMode
impl Debug for RepoCheckoutMode
sourceimpl Display for RepoCheckoutMode
impl Display for RepoCheckoutMode
sourceimpl Hash for RepoCheckoutMode
impl Hash for RepoCheckoutMode
sourceimpl Ord for RepoCheckoutMode
impl Ord for RepoCheckoutMode
sourcefn cmp(&self, other: &RepoCheckoutMode) -> Ordering
fn cmp(&self, other: &RepoCheckoutMode) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<RepoCheckoutMode> for RepoCheckoutMode
impl PartialEq<RepoCheckoutMode> for RepoCheckoutMode
sourcefn eq(&self, other: &RepoCheckoutMode) -> bool
fn eq(&self, other: &RepoCheckoutMode) -> bool
sourceimpl PartialOrd<RepoCheckoutMode> for RepoCheckoutMode
impl PartialOrd<RepoCheckoutMode> for RepoCheckoutMode
sourcefn partial_cmp(&self, other: &RepoCheckoutMode) -> Option<Ordering>
fn partial_cmp(&self, other: &RepoCheckoutMode) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for RepoCheckoutMode
impl Eq for RepoCheckoutMode
impl StructuralEq for RepoCheckoutMode
impl StructuralPartialEq for RepoCheckoutMode
Auto Trait Implementations
impl RefUnwindSafe for RepoCheckoutMode
impl Send for RepoCheckoutMode
impl Sync for RepoCheckoutMode
impl Unpin for RepoCheckoutMode
impl UnwindSafe for RepoCheckoutMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more