pub struct SymbolicStringStart<'input> {
pub prefix: &'input str,
pub length: usize,
}Fields§
§prefix: &'input strThe prefix for the symbolic string, e.g. nix-s%""% has prefix "nix"
length: usizeThe length of the string delimiter, excluding prefix and -. E.g. nix-s%%""% has
length 4, the length of s%%"
Trait Implementations§
Source§impl<'input> Clone for SymbolicStringStart<'input>
impl<'input> Clone for SymbolicStringStart<'input>
Source§fn clone(&self) -> SymbolicStringStart<'input>
fn clone(&self) -> SymbolicStringStart<'input>
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<'input> Debug for SymbolicStringStart<'input>
impl<'input> Debug for SymbolicStringStart<'input>
Source§impl<'input> PartialEq for SymbolicStringStart<'input>
impl<'input> PartialEq for SymbolicStringStart<'input>
impl<'input> StructuralPartialEq for SymbolicStringStart<'input>
Auto Trait Implementations§
impl<'input> Freeze for SymbolicStringStart<'input>
impl<'input> RefUnwindSafe for SymbolicStringStart<'input>
impl<'input> Send for SymbolicStringStart<'input>
impl<'input> Sync for SymbolicStringStart<'input>
impl<'input> Unpin for SymbolicStringStart<'input>
impl<'input> UnsafeUnpin for SymbolicStringStart<'input>
impl<'input> UnwindSafe for SymbolicStringStart<'input>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more