Struct git_config::file::MutableValue [−][src]
pub struct MutableValue<'borrow, 'lookup, 'event> { /* fields omitted */ }
Expand description
Implementations
Returns the actual value. This is computed each time this is called, so it’s best to reuse this value or own it if an allocation is acceptable.
Errors
Returns an error if the lookup failed.
Update the value to the provided one. This modifies the value such that the Value event(s) are replaced with a single new event containing the new value.
Update the value to the provided one. This modifies the value such that the Value event(s) are replaced with a single new event containing the new value.
Trait Implementations
impl<'borrow, 'lookup, 'event> PartialEq<MutableValue<'borrow, 'lookup, 'event>> for MutableValue<'borrow, 'lookup, 'event>
impl<'borrow, 'lookup, 'event> PartialEq<MutableValue<'borrow, 'lookup, 'event>> for MutableValue<'borrow, 'lookup, 'event>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<'borrow, 'lookup, 'event> PartialOrd<MutableValue<'borrow, 'lookup, 'event>> for MutableValue<'borrow, 'lookup, 'event>
impl<'borrow, 'lookup, 'event> PartialOrd<MutableValue<'borrow, 'lookup, 'event>> for MutableValue<'borrow, 'lookup, 'event>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more