pub struct PathspecFile {
pub data: Vec<u8>,
pub nul_terminated: bool,
}Expand description
Raw bytes for [ResolvedPathspecs::resolve] from --pathspec-from-file (read by the caller).
Fields§
§data: Vec<u8>File or stdin contents.
nul_terminated: boolWhen true, entries are NUL-separated (--pathspec-file-nul).
Implementations§
Trait Implementations§
Source§impl Clone for PathspecFile
impl Clone for PathspecFile
Source§impl Debug for PathspecFile
impl Debug for PathspecFile
impl Eq for PathspecFile
Source§impl PartialEq for PathspecFile
impl PartialEq for PathspecFile
impl StructuralPartialEq for PathspecFile
Auto Trait Implementations§
impl Forget for PathspecFile
impl Freeze for PathspecFile
impl RefUnwindSafe for PathspecFile
impl Send for PathspecFile
impl Sync for PathspecFile
impl Unpin for PathspecFile
impl UnsafeUnpin for PathspecFile
impl UnwindSafe for PathspecFile
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.