Enum gix_object::tree::EntryKind
source · #[repr(u16)]pub enum EntryKind {
Tree = 16_384,
Blob = 33_188,
BlobExecutable = 33_261,
Link = 40_960,
Commit = 57_344,
}
Expand description
A discretized version of ideal and valid values for entry modes.
Note that even though it can represent every valid mode, it might loose information due to that as well.
Variants§
Tree = 16_384
A tree, or directory
Blob = 33_188
A file that is not executable
BlobExecutable = 33_261
A file that is executable
Link = 40_960
A symbolic link
Commit = 57_344
A commit of a git submodule
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for EntryKind
impl<'de> Deserialize<'de> for EntryKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for EntryKind
impl Ord for EntryKind
source§impl PartialEq for EntryKind
impl PartialEq for EntryKind
source§impl PartialOrd for EntryKind
impl PartialOrd for EntryKind
1.0.0 · source§fn 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 EntryKind
impl Eq for EntryKind
impl StructuralPartialEq for EntryKind
Auto Trait Implementations§
impl RefUnwindSafe for EntryKind
impl Send for EntryKind
impl Sync for EntryKind
impl Unpin for EntryKind
impl UnwindSafe for EntryKind
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