[−][src]Enum radicle_surf::file_system::SystemType
SystemType
is an enumeration over what can be
found in a Directory
so we can report back to the caller a Label
and its type.
See SystemType::file
and
SystemType::directory
.
Variants
Methods
impl SystemType
[src]
pub fn file(label: Label) -> (Label, Self)
[src]
A file name and SystemType::File
.
pub fn directory(label: Label) -> (Label, Self)
[src]
A directory name and SystemType::Directory
.
Trait Implementations
impl Clone for SystemType
[src]
fn clone(&self) -> SystemType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SystemType
[src]
impl Eq for SystemType
[src]
impl Ord for SystemType
[src]
fn cmp(&self, other: &SystemType) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SystemType> for SystemType
[src]
fn eq(&self, other: &SystemType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<SystemType> for SystemType
[src]
fn partial_cmp(&self, other: &SystemType) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SystemType
[src]
impl StructuralPartialEq for SystemType
[src]
Auto Trait Implementations
impl RefUnwindSafe for SystemType
impl Send for SystemType
impl Sync for SystemType
impl Unpin for SystemType
impl UnwindSafe for SystemType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,