pub struct DiffLabels {
pub expand: String,
pub hidden: String,
pub binary: String,
pub added: String,
pub removed: String,
}Expand description
Words the view shows (localized by the app).
Fields§
§expand: StringA collapsed range that can be expanded; {n} is the number of lines one click shows.
The size of a collapsed range; {n} is the number of hidden lines.
binary: StringIn place of a binary file’s lines.
added: StringSpoken before an added and a removed line’s number.
removed: StringTrait Implementations§
Source§impl Clone for DiffLabels
impl Clone for DiffLabels
Source§impl Debug for DiffLabels
impl Debug for DiffLabels
Source§impl Default for DiffLabels
impl Default for DiffLabels
impl Eq for DiffLabels
Source§impl PartialEq for DiffLabels
impl PartialEq for DiffLabels
impl StructuralPartialEq for DiffLabels
Auto Trait Implementations§
impl Forget for DiffLabels
impl Freeze for DiffLabels
impl Move for DiffLabels
impl RefUnwindSafe for DiffLabels
impl Send for DiffLabels
impl Sync for DiffLabels
impl Unpin for DiffLabels
impl UnsafeUnpin for DiffLabels
impl UnwindSafe for DiffLabels
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<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