Enum diff::Result
[−]
[src]
pub enum Result<T> { Left(T), Both(T, T), Right(T), }
A fragment of a computed diff.
Variants
Left(T)
Both(T, T)
Right(T)
Trait Implementations
impl<T: PartialEq> PartialEq for Result<T>
[src]
fn eq(&self, __arg_0: &Result<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Result<T>) -> bool
This method tests for !=
.
impl<T: Debug> Debug for Result<T>
[src]
impl<T: Clone> Clone for Result<T>
[src]
fn clone(&self) -> Result<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more