std::borrow::Cow - Rust (original) (raw)

Enum std::borrow::Cow1.0.0 [−] [src]

pub enum Cow<'a, B> where
    B: 'a + ToOwned + ?Sized,  { Borrowed(&'a B), Owned(<B as ToOwned>::Owned), }

A clone-on-write smart pointer.

The type Cow is a smart pointer providing clone-on-write functionality: it can enclose and provide immutable access to borrowed data, and clone the data lazily when mutation or ownership is required. The type is designed to work with general borrowed data via the Borrow trait.

Cow implements Deref, which means that you can call non-mutating methods directly on the data it encloses. If mutation is desired, to_mut will obtain a mutable reference to an owned value, cloning if necessary.

use std::borrow::Cow;

fn abs_all(input: &mut Cow<[i32]>) { for i in 0..input.len() { let v = input[i]; if v < 0 {

        input.to_mut()[i] = -v;
    }
}

}

let slice = [0, 1, 2]; let mut input = Cow::from(&slice[..]); abs_all(&mut input);

let slice = [-1, 0, 1]; let mut input = Cow::from(&slice[..]); abs_all(&mut input);

let mut input = Cow::from(vec![-1, 0, 1]); abs_all(&mut input);Run

Borrowed data.

Owned data.

`impl<'a, B> Cow<'a, B> where

B: ToOwned + ?Sized, `[src]

pub fn [to_mut](#method.to%5Fmut)(&mut self) -> &mut <B as [ToOwned](../../std/borrow/trait.ToOwned.html "trait std::borrow::ToOwned")>::[Owned](../../std/borrow/trait.ToOwned.html#associatedtype.Owned "type std::borrow::ToOwned::Owned")[src]

Acquires a mutable reference to the owned form of the data.

Clones the data if it is not already owned.

use std::borrow::Cow;

let mut cow = Cow::Borrowed("foo"); cow.to_mut().make_ascii_uppercase();

assert_eq!( cow, Cow::Owned(String::from("FOO")) as Cow );Run

pub fn [into_owned](#method.into%5Fowned)(self) -> <B as [ToOwned](../../std/borrow/trait.ToOwned.html "trait std::borrow::ToOwned")>::[Owned](../../std/borrow/trait.ToOwned.html#associatedtype.Owned "type std::borrow::ToOwned::Owned")[src]

Extracts the owned data.

Clones the data if it is not already owned.

Calling into_owned on a Cow::Borrowed clones the underlying data and becomes a Cow::Owned:

use std::borrow::Cow;

let s = "Hello world!"; let cow = Cow::Borrowed(s);

assert_eq!( cow.into_owned(), String::from(s) );Run

Calling into_owned on a Cow::Owned is a no-op:

use std::borrow::Cow;

let s = "Hello world!"; let cow: Cow = Cow::Owned(String::from(s));

assert_eq!( cow.into_owned(), String::from(s) );Run

`impl<'a, T> From<Cow<'a, T[]>> for Vec where

T[]: ToOwned,
<T[] as ToOwned>::Owned == Vec, `

1.14.0

[src]

impl<'a> [From](../../std/convert/trait.From.html "trait std::convert::From")<&'a [str](../primitive.str.html)> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>[src]

`impl<'a, T> From<&'a [T]> for Cow<'a, T[]> where

T: Clone, `

1.8.0

[src]

`impl<'a, T> From<Vec> for Cow<'a, T[]> where

T: Clone, `

1.8.0

[src]

impl<'a> [From](../../std/convert/trait.From.html "trait std::convert::From")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for [String](../../std/string/struct.String.html "struct std:🧵:String")

1.14.0

[src]

impl<'a> [From](../../std/convert/trait.From.html "trait std::convert::From")<[String](../../std/string/struct.String.html "struct std:🧵:String")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>[src]

impl<'a> [ToString](../../std/string/trait.ToString.html "trait std:🧵:ToString") for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>

1.17.0

[src]

`impl<'a, B> Borrow for Cow<'a, B> where

B: ToOwned + ?Sized,
<B as ToOwned>::Owned: 'a, `[src]

`impl<'a, B> Ord for Cow<'a, B> where

B: Ord + ToOwned + ?Sized, `[src]

fn [cmp](../../std/cmp/trait.Ord.html#tymethod.cmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, B>) -> [Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")[src]

This method returns an Ordering between self and other. Read more

fn [max](../../std/cmp/trait.Ord.html#method.max)(self, other: Self) -> Self

1.21.0

[src]

Compares and returns the maximum of two values. Read more

fn [min](../../std/cmp/trait.Ord.html#method.min)(self, other: Self) -> Self

1.21.0

[src]

Compares and returns the minimum of two values. Read more

`impl<'a, B> Clone for Cow<'a, B> where

B: ToOwned + ?Sized, `[src]

impl<'a> [Extend](../../std/iter/trait.Extend.html "trait std::iter::Extend")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for [String](../../std/string/struct.String.html "struct std:🧵:String")

1.19.0

[src]

`impl<'a, B> Hash for Cow<'a, B> where

B: Hash + ToOwned + ?Sized, `[src]

impl<'a> [Add](../../std/ops/trait.Add.html "trait std::ops::Add")<&'a [str](../primitive.str.html)> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>

1.14.0

[src]

impl<'a> [Add](../../std/ops/trait.Add.html "trait std::ops::Add")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>

1.14.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[String](../../std/string/struct.String.html "struct std:🧵:String")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for [String](../../std/string/struct.String.html "struct std:🧵:String")[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for [str](../primitive.str.html)[src]

`impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for Cow<'a, A[]> where

A: Clone + PartialEq, `[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<&'b [str](../primitive.str.html)> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &&'b [str](../primitive.str.html)) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: &&'b [str](../primitive.str.html)) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

`impl<'a, 'b, A, B> PartialEq<&'b [B]> for Cow<'a, A[]> where

A: Clone + PartialEq, `[src]

`impl<'a, 'b, A, B> PartialEq<Vec> for Cow<'a, A[]> where

A: Clone + PartialEq, `[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Vec](../../std/vec/struct.Vec.html "struct std::vec::Vec")<B>) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: &[Vec](../../std/vec/struct.Vec.html "struct std::vec::Vec")<B>) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for &'b [str](../primitive.str.html)[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[str](../primitive.str.html)> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[str](../primitive.str.html)) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: &[str](../primitive.str.html)) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

`impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B> where

B: PartialEq + ToOwned + ?Sized,
C: ToOwned + ?Sized, `[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'b, C>) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

`impl<'a, B> Display for Cow<'a, B> where

B: Display + ToOwned + ?Sized,
<B as ToOwned>::Owned: Display, `[src]

`impl<'a, B> Eq for Cow<'a, B> where

B: Eq + ToOwned + ?Sized, `[src]

impl<'a> [AddAssign](../../std/ops/trait.AddAssign.html "trait std::ops::AddAssign")<&'a [str](../primitive.str.html)> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>

1.14.0

[src]

impl<'a> [AddAssign](../../std/ops/trait.AddAssign.html "trait std::ops::AddAssign")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>

1.14.0

[src]

`impl<'a, T> AsRef for Cow<'a, T> where

T: ToOwned + ?Sized, `[src]

`impl<'a, B> Default for Cow<'a, B> where

B: ToOwned + ?Sized,
<B as ToOwned>::Owned: Default, `

1.11.0

[src]

fn [default](../../std/default/trait.Default.html#tymethod.default)() -> [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, B>[src]

Creates an owned Cow<'a, B> with the default value for the contained owned value.

impl<'a, 'b> [FromIterator](../../std/iter/trait.FromIterator.html "trait std::iter::FromIterator")<&'b [str](../primitive.str.html)> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>

1.12.0

[src]

`impl<'a, T> FromIterator for Cow<'a, T[]> where

T: Clone, `[src]

impl<'a> [FromIterator](../../std/iter/trait.FromIterator.html "trait std::iter::FromIterator")<[String](../../std/string/struct.String.html "struct std:🧵:String")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>

1.12.0

[src]

impl<'a> [FromIterator](../../std/iter/trait.FromIterator.html "trait std::iter::FromIterator")<[char](../primitive.char.html)> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>

1.12.0

[src]

impl<'a> [FromIterator](../../std/iter/trait.FromIterator.html "trait std::iter::FromIterator")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for [String](../../std/string/struct.String.html "struct std:🧵:String")

1.19.0

[src]

`impl<'a, B> Debug for Cow<'a, B> where

B: Debug + ToOwned + ?Sized,
<B as ToOwned>::Owned: Debug, `[src]

`impl<'a, B> Deref for Cow<'a, B> where

B: ToOwned + ?Sized, `[src]

type [Target](../../std/ops/trait.Deref.html#associatedtype.Target) = B

The resulting type after dereferencing.

fn [deref](../../std/ops/trait.Deref.html#tymethod.deref)(&self) -> [&](../primitive.reference.html)B[src]

Dereferences the value.

`impl<'a, B> PartialOrd<Cow<'a, B>> for Cow<'a, B> where

B: PartialOrd + ToOwned + ?Sized, `[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, B>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [From](../../std/convert/trait.From.html "trait std::convert::From")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'b, [str](../primitive.str.html)>> for [Box](../../std/boxed/struct.Box.html "struct std::boxed::Box")<[Error](../../std/error/trait.Error.html "trait std::error::Error") + [Send](../../std/marker/trait.Send.html "trait std:📑:Send") + [Sync](../../std/marker/trait.Sync.html "trait std:📑:Sync") + 'a>

1.22.0

[src]

impl<'a> [From](../../std/convert/trait.From.html "trait std::convert::From")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [str](../primitive.str.html)>> for [Box](../../std/boxed/struct.Box.html "struct std::boxed::Box")<[Error](../../std/error/trait.Error.html "trait std::error::Error")>

1.22.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")

1.8.0

[src]

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<&'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &&'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for &'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")

1.8.0

[src]

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<&'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &&'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for &'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for [OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")

1.8.0

[src]

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for [OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a> [From](../../std/convert/trait.From.html "trait std::convert::From")<&'a [Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.6.0

[src]

impl<'a> [From](../../std/convert/trait.From.html "trait std::convert::From")<[PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.6.0

[src]

impl<'a> [AsRef](../../std/convert/trait.AsRef.html "trait std::convert::AsRef")<[Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.6.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Path](../../std/path/struct.Path.html "struct std::path::Path")) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for [Path](../../std/path/struct.Path.html "struct std::path::Path")

1.6.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Path](../../std/path/struct.Path.html "struct std::path::Path")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for [Path](../../std/path/struct.Path.html "struct std::path::Path")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<&'b [Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.6.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &&'b [Path](../../std/path/struct.Path.html "struct std::path::Path")) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for &'b [Path](../../std/path/struct.Path.html "struct std::path::Path")

1.6.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<&'b [Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &&'b [Path](../../std/path/struct.Path.html "struct std::path::Path")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for &'b [Path](../../std/path/struct.Path.html "struct std::path::Path")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.6.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for [PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")

1.6.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for [PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for [PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")

1.8.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for [PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[PathBuf](../../std/path/struct.PathBuf.html "struct std::path::PathBuf")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for [Path](../../std/path/struct.Path.html "struct std::path::Path")

1.8.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Path](../../std/path/struct.Path.html "struct std::path::Path")) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for [Path](../../std/path/struct.Path.html "struct std::path::Path")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Path](../../std/path/struct.Path.html "struct std::path::Path")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'b, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for &'a [Path](../../std/path/struct.Path.html "struct std::path::Path")

1.8.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<&'a [Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'b, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &&'a [Path](../../std/path/struct.Path.html "struct std::path::Path")) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'b, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>> for &'a [Path](../../std/path/struct.Path.html "struct std::path::Path")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'b, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<&'a [Path](../../std/path/struct.Path.html "struct std::path::Path")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'b, [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &&'a [Path](../../std/path/struct.Path.html "struct std::path::Path")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<&'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &&'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for &'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<&'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &&'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for &'b [OsStr](../../std/ffi/struct.OsStr.html "struct std::ffi::OsStr")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

impl<'a, 'b> [PartialEq](../../std/cmp/trait.PartialEq.html "trait std::cmp::PartialEq")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for [OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")

1.8.0

[src]

fn [eq](../../std/cmp/trait.PartialEq.html#tymethod.eq)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [bool](../primitive.bool.html)[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn [ne](../../std/cmp/trait.PartialEq.html#method.ne)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests for !=.

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")> for [Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a, 'b> [PartialOrd](../../std/cmp/trait.PartialOrd.html "trait std::cmp::PartialOrd")<[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>> for [OsString](../../std/ffi/struct.OsString.html "struct std::ffi::OsString")

1.8.0

[src]

fn [partial_cmp](../../std/cmp/trait.PartialOrd.html#tymethod.partial%5Fcmp)(&self, other: &[Cow](../../std/borrow/enum.Cow.html "enum std::borrow::Cow")<'a, [Path](../../std/path/struct.Path.html "struct std::path::Path")>) -> [Option](../../std/option/enum.Option.html "enum std::option::Option")<[Ordering](../../std/cmp/enum.Ordering.html "enum std::cmp::Ordering")>[src]

This method returns an ordering between self and other values if one exists. Read more

fn [lt](../../std/cmp/trait.PartialOrd.html#method.lt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than (for self and other) and is used by the < operator. Read more

fn [le](../../std/cmp/trait.PartialOrd.html#method.le)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn [gt](../../std/cmp/trait.PartialOrd.html#method.gt)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

fn [ge](../../std/cmp/trait.PartialOrd.html#method.ge)(&self, other: [&](../primitive.reference.html)Rhs) -> [bool](../primitive.bool.html)[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more