Struct asyncgit::StatusParams
source · pub struct StatusParams { /* private fields */ }
Expand description
Implementations§
source§impl StatusParams
impl StatusParams
sourcepub fn new(
status_type: StatusType,
config: Option<ShowUntrackedFilesConfig>
) -> Self
pub fn new( status_type: StatusType, config: Option<ShowUntrackedFilesConfig> ) -> Self
Trait Implementations§
source§impl Clone for StatusParams
impl Clone for StatusParams
source§fn clone(&self) -> StatusParams
fn clone(&self) -> StatusParams
Returns a copy 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 Default for StatusParams
impl Default for StatusParams
source§fn default() -> StatusParams
fn default() -> StatusParams
Returns the “default value” for a type. Read more
source§impl Hash for StatusParams
impl Hash for StatusParams
source§impl PartialEq for StatusParams
impl PartialEq for StatusParams
source§fn eq(&self, other: &StatusParams) -> bool
fn eq(&self, other: &StatusParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StatusParams
impl Eq for StatusParams
impl StructuralPartialEq for StatusParams
Auto Trait Implementations§
impl Freeze for StatusParams
impl RefUnwindSafe for StatusParams
impl Send for StatusParams
impl Sync for StatusParams
impl Unpin for StatusParams
impl UnwindSafe for StatusParams
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<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
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