pub struct PathspecInput {
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 PathspecInput
impl Clone for PathspecInput
Source§impl Debug for PathspecInput
impl Debug for PathspecInput
impl Eq for PathspecInput
Source§impl PartialEq for PathspecInput
impl PartialEq for PathspecInput
impl StructuralPartialEq for PathspecInput
Auto Trait Implementations§
impl Freeze for PathspecInput
impl RefUnwindSafe for PathspecInput
impl Send for PathspecInput
impl Sync for PathspecInput
impl Unpin for PathspecInput
impl UnsafeUnpin for PathspecInput
impl UnwindSafe for PathspecInput
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