#[repr(transparent)]pub struct FSExtentType(pub NSInteger);
Available on crate feature
FSVolumeExtent
only.Expand description
An enumeration of types of extents.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl FSExtentType
impl FSExtentType
Sourcepub const Data: Self
pub const Data: Self
An extent type to indicate valid data.
Use this type for all extents on a file system that doesn’t support sparse files.
Tip: The kernel keeps track of the end of file, so it knows a range of
[EOF, allocated space]
is uninitialized. Because of this behavior, it’s valid to pass the data extent type for such a range.
Trait Implementations§
Source§impl Clone for FSExtentType
impl Clone for FSExtentType
Source§fn clone(&self) -> FSExtentType
fn clone(&self) -> FSExtentType
Returns a duplicate 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 FSExtentType
impl Debug for FSExtentType
Source§impl Encode for FSExtentType
impl Encode for FSExtentType
Source§impl Hash for FSExtentType
impl Hash for FSExtentType
Source§impl Ord for FSExtentType
impl Ord for FSExtentType
Source§fn cmp(&self, other: &FSExtentType) -> Ordering
fn cmp(&self, other: &FSExtentType) -> Ordering
1.21.0 · Source§fn 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
Source§impl PartialEq for FSExtentType
impl PartialEq for FSExtentType
Source§impl PartialOrd for FSExtentType
impl PartialOrd for FSExtentType
Source§impl RefEncode for FSExtentType
impl RefEncode for FSExtentType
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for FSExtentType
impl Eq for FSExtentType
impl StructuralPartialEq for FSExtentType
Auto Trait Implementations§
impl Freeze for FSExtentType
impl RefUnwindSafe for FSExtentType
impl Send for FSExtentType
impl Sync for FSExtentType
impl Unpin for FSExtentType
impl UnwindSafe for FSExtentType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.