freya::prelude

Enum Cow

1.0.0 ยท Source
pub enum Cow<'a, B>
where B: 'a + ToOwned + ?Sized,
{ Borrowed(&'a B), Owned(<B as ToOwned>::Owned), }
Expand description

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.

If you need reference-counting pointers, note that Rc::make_mut and Arc::make_mut can provide clone-on-write functionality as well.

ยงExamples

use std::borrow::Cow;

fn abs_all(input: &mut Cow<'_, [i32]>) {
    for i in 0..input.len() {
        let v = input[i];
        if v < 0 {
            // Clones into a vector if not already owned.
            input.to_mut()[i] = -v;
        }
    }
}

// No clone occurs because `input` doesn't need to be mutated.
let slice = [0, 1, 2];
let mut input = Cow::from(&slice[..]);
abs_all(&mut input);

// Clone occurs because `input` needs to be mutated.
let slice = [-1, 0, 1];
let mut input = Cow::from(&slice[..]);
abs_all(&mut input);

// No clone occurs because `input` is already owned.
let mut input = Cow::from(vec![-1, 0, 1]);
abs_all(&mut input);

Another example showing how to keep Cow in a struct:

use std::borrow::Cow;

struct Items<'a, X> where [X]: ToOwned<Owned = Vec<X>> {
    values: Cow<'a, [X]>,
}

impl<'a, X: Clone + 'a> Items<'a, X> where [X]: ToOwned<Owned = Vec<X>> {
    fn new(v: Cow<'a, [X]>) -> Self {
        Items { values: v }
    }
}

// Creates a container from borrowed values of a slice
let readonly = [1, 2];
let borrowed = Items::new((&readonly[..]).into());
match borrowed {
    Items { values: Cow::Borrowed(b) } => println!("borrowed {b:?}"),
    _ => panic!("expect borrowed value"),
}

let mut clone_on_write = borrowed;
// Mutates the data from slice into owned vec and pushes a new value on top
clone_on_write.values.to_mut().push(3);
println!("clone_on_write = {:?}", clone_on_write.values);

// The data was mutated. Let's check it out.
match clone_on_write {
    Items { values: Cow::Owned(_) } => println!("clone_on_write contains owned data"),
    _ => panic!("expect owned data"),
}

Variantsยง

ยง1.0.0

Borrowed(&'a B)

Borrowed data.

ยง1.0.0

Owned(<B as ToOwned>::Owned)

Owned data.

Implementationsยง

Sourceยง

impl<B> Cow<'_, B>
where B: ToOwned + ?Sized,

Source

pub const fn is_borrowed(&self) -> bool

๐Ÿ”ฌThis is a nightly-only experimental API. (cow_is_borrowed)

Returns true if the data is borrowed, i.e. if to_mut would require additional work.

ยงExamples
#![feature(cow_is_borrowed)]
use std::borrow::Cow;

let cow = Cow::Borrowed("moo");
assert!(cow.is_borrowed());

let bull: Cow<'_, str> = Cow::Owned("...moo?".to_string());
assert!(!bull.is_borrowed());
Source

pub const fn is_owned(&self) -> bool

๐Ÿ”ฌThis is a nightly-only experimental API. (cow_is_borrowed)

Returns true if the data is owned, i.e. if to_mut would be a no-op.

ยงExamples
#![feature(cow_is_borrowed)]
use std::borrow::Cow;

let cow: Cow<'_, str> = Cow::Owned("moo".to_string());
assert!(cow.is_owned());

let bull = Cow::Borrowed("...moo?");
assert!(!bull.is_owned());
1.0.0 ยท Source

pub fn to_mut(&mut self) -> &mut <B as ToOwned>::Owned

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

Clones the data if it is not already owned.

ยงExamples
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<'_, str>
);
1.0.0 ยท Source

pub fn into_owned(self) -> <B as ToOwned>::Owned

Extracts the owned data.

Clones the data if it is not already owned.

ยงExamples

Calling into_owned on a Cow::Borrowed returns a clone of the borrowed data:

use std::borrow::Cow;

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

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

Calling into_owned on a Cow::Owned returns the owned data. The data is moved out of the Cow without being cloned.

use std::borrow::Cow;

let s = "Hello world!";
let cow: Cow<'_, str> = Cow::Owned(String::from(s));

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

Trait Implementationsยง

1.14.0 ยท Sourceยง

impl<'a> Add<&'a str> for Cow<'a, str>

Sourceยง

type Output = Cow<'a, str>

The resulting type after applying the + operator.
Sourceยง

fn add(self, rhs: &'a str) -> <Cow<'a, str> as Add<&'a str>>::Output

Performs the + operation. Read more
1.14.0 ยท Sourceยง

impl<'a> Add for Cow<'a, str>

Sourceยง

type Output = Cow<'a, str>

The resulting type after applying the + operator.
Sourceยง

fn add(self, rhs: Cow<'a, str>) -> <Cow<'a, str> as Add>::Output

Performs the + operation. Read more
1.14.0 ยท Sourceยง

impl<'a> AddAssign<&'a str> for Cow<'a, str>

Sourceยง

fn add_assign(&mut self, rhs: &'a str)

Performs the += operation. Read more
1.14.0 ยท Sourceยง

impl<'a> AddAssign for Cow<'a, str>

Sourceยง

fn add_assign(&mut self, rhs: Cow<'a, str>)

Performs the += operation. Read more
ยง

impl<'a> Arg for Cow<'a, CStr>

ยง

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
ยง

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
ยง

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
ยง

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where Cow<'a, CStr>: 'b,

Consumes self and returns a view of this string as a maybe-owned CStr.
ยง

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where Cow<'a, CStr>: Sized, F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
ยง

impl<'a> Arg for Cow<'a, CStr>

ยง

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
ยง

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
ยง

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
ยง

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where Cow<'a, CStr>: 'b,

Consumes self and returns a view of this string as a maybe-owned CStr.
ยง

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where Cow<'a, CStr>: Sized, F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
ยง

impl<'a> Arg for Cow<'a, OsStr>

ยง

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
ยง

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
ยง

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
ยง

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where Cow<'a, OsStr>: 'b,

Consumes self and returns a view of this string as a maybe-owned CStr.
ยง

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where Cow<'a, OsStr>: Sized, F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
ยง

impl<'a> Arg for Cow<'a, OsStr>

ยง

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
ยง

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
ยง

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
ยง

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where Cow<'a, OsStr>: 'b,

Consumes self and returns a view of this string as a maybe-owned CStr.
ยง

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where Cow<'a, OsStr>: Sized, F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
ยง

impl<'a> Arg for Cow<'a, str>

ยง

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
ยง

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
ยง

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
ยง

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where Cow<'a, str>: 'b,

Consumes self and returns a view of this string as a maybe-owned CStr.
ยง

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where Cow<'a, str>: Sized, F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
ยง

impl<'a> Arg for Cow<'a, str>

ยง

fn as_str(&self) -> Result<&str, Errno>

Returns a view of this string as a string slice.
ยง

fn to_string_lossy(&self) -> Cow<'_, str>

Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
ยง

fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

Returns a view of this string as a maybe-owned CStr.
ยง

fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
where Cow<'a, str>: 'b,

Consumes self and returns a view of this string as a maybe-owned CStr.
ยง

fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
where Cow<'a, str>: Sized, F: FnOnce(&CStr) -> Result<T, Errno>,

Runs a closure with self passed in as a &CStr.
ยง

impl<T> AsRawXcbConnection for Cow<'_, T>
where T: AsRawXcbConnection + ToOwned + ?Sized,

ยง

fn as_raw_xcb_connection(&self) -> *mut xcb_connection_t

Get a raw xcb connection pointer from this object.
1.8.0 ยท Sourceยง

impl AsRef<Path> for Cow<'_, OsStr>

Sourceยง

fn as_ref(&self) -> &Path

Converts this type into a shared reference of the (usually inferred) input type.
1.0.0 ยท Sourceยง

impl<T> AsRef<T> for Cow<'_, T>
where T: ToOwned + ?Sized,

Sourceยง

fn as_ref(&self) -> &T

Converts this type into a shared reference of the (usually inferred) input type.
1.0.0 ยท Sourceยง

impl<'a, B> Borrow<B> for Cow<'a, B>
where B: ToOwned + ?Sized,

Sourceยง

fn borrow(&self) -> &B

Immutably borrows from an owned value. Read more
1.0.0 ยท Sourceยง

impl<B> Clone for Cow<'_, B>
where B: ToOwned + ?Sized,

Sourceยง

fn clone(&self) -> Cow<'_, B>

Returns a copy of the value. Read more
Sourceยง

fn clone_from(&mut self, source: &Cow<'_, B>)

Performs copy-assignment from source. Read more
ยง

impl<C> Connection for Cow<'_, C>
where C: Connection + ToOwned + ?Sized,

ยง

fn wait_for_event(&self) -> Result<Event, ConnectionError>

Wait for a new event from the X11 server.
ยง

fn wait_for_raw_event( &self, ) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ConnectionError>

Wait for a new raw/unparsed event from the X11 server.
ยง

fn wait_for_event_with_sequence(&self) -> Result<(Event, u64), ConnectionError>

Wait for a new event from the X11 server.
ยง

fn wait_for_raw_event_with_sequence( &self, ) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, u64), ConnectionError>

Wait for a new raw/unparsed event from the X11 server.
ยง

fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>

Poll for a new event from the X11 server.
ยง

fn poll_for_raw_event( &self, ) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

Poll for a new raw/unparsed event from the X11 server.
ยง

fn poll_for_event_with_sequence( &self, ) -> Result<Option<(Event, u64)>, ConnectionError>

Poll for a new event from the X11 server.
ยง

fn poll_for_raw_event_with_sequence( &self, ) -> Result<Option<(<Cow<'_, C> as RequestConnection>::Buf, u64)>, ConnectionError>

Poll for a new unparsed/raw event from the X11 server.
ยง

fn flush(&self) -> Result<(), ConnectionError>

Send all pending requests to the server. Read more
ยง

fn setup(&self) -> &Setup

Get the setup information sent by the X11 server. Read more
ยง

fn generate_id(&self) -> Result<u32, ReplyOrIdError>

Generate a new X11 identifier. Read more
1.0.0 ยท Sourceยง

impl<B> Debug for Cow<'_, B>
where B: Debug + ToOwned + ?Sized, <B as ToOwned>::Owned: Debug,

Sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
1.11.0 ยท Sourceยง

impl<B> Default for Cow<'_, B>
where B: ToOwned + ?Sized, <B as ToOwned>::Owned: Default,

Sourceยง

fn default() -> Cow<'_, B>

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

1.0.0 ยท Sourceยง

impl<B> Deref for Cow<'_, B>
where B: ToOwned + ?Sized, <B as ToOwned>::Owned: Borrow<B>,

Sourceยง

type Target = B

The resulting type after dereferencing.
Sourceยง

fn deref(&self) -> &B

Dereferences the value.
Sourceยง

impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
where T: ToOwned + ?Sized, <T as ToOwned>::Owned: Deserialize<'de>,

Sourceยง

fn deserialize<D>( deserializer: D, ) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
1.0.0 ยท Sourceยง

impl<B> Display for Cow<'_, B>
where B: Display + ToOwned + ?Sized, <B as ToOwned>::Owned: Display,

Sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
ยง

impl<T> EncodeAsVarULE<T> for Cow<'_, T>
where T: VarULE + ToOwned + ?Sized,

ยง

fn encode_var_ule_as_slices<R>(&self, cb: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated produce the memory pattern of the corresponding instance of T. Read more
ยง

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
ยง

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should be the size of [Self::encode_var_ule_len()]
1.19.0 ยท Sourceยง

impl<'a> Extend<Cow<'a, str>> for String

Sourceยง

fn extend<I>(&mut self, iter: I)
where I: IntoIterator<Item = Cow<'a, str>>,

Extends a collection with the contents of an iterator. Read more
Sourceยง

fn extend_one(&mut self, s: Cow<'a, str>)

๐Ÿ”ฌThis is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
Sourceยง

fn extend_reserve(&mut self, additional: usize)

๐Ÿ”ฌThis is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
1.8.0 ยท Sourceยง

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

Sourceยง

fn from(s: &'a [T]) -> Cow<'a, [T]>

Creates a Borrowed variant of Cow from a slice.

This conversion does not allocate or clone the data.

1.77.0 ยท Sourceยง

impl<'a, T, const N: usize> From<&'a [T; N]> for Cow<'a, [T]>
where T: Clone,

Sourceยง

fn from(s: &'a [T; N]) -> Cow<'a, [T]>

Creates a Borrowed variant of Cow from a reference to an array.

This conversion does not allocate or clone the data.

1.28.0 ยท Sourceยง

impl<'a> From<&'a CStr> for Cow<'a, CStr>

Sourceยง

fn from(s: &'a CStr) -> Cow<'a, CStr>

Converts a CStr into a borrowed Cow without copying or allocating.

1.28.0 ยท Sourceยง

impl<'a> From<&'a CString> for Cow<'a, CStr>

Sourceยง

fn from(s: &'a CString) -> Cow<'a, CStr>

Converts a &CString into a borrowed Cow without copying or allocating.

1.28.0 ยท Sourceยง

impl<'a> From<&'a OsStr> for Cow<'a, OsStr>

Sourceยง

fn from(s: &'a OsStr) -> Cow<'a, OsStr>

Converts the string reference into a Cow::Borrowed.

1.28.0 ยท Sourceยง

impl<'a> From<&'a OsString> for Cow<'a, OsStr>

Sourceยง

fn from(s: &'a OsString) -> Cow<'a, OsStr>

Converts the string reference into a Cow::Borrowed.

1.6.0 ยท Sourceยง

impl<'a> From<&'a Path> for Cow<'a, Path>

Sourceยง

fn from(s: &'a Path) -> Cow<'a, Path>

Creates a clone-on-write pointer from a reference to Path.

This conversion does not clone or allocate.

1.28.0 ยท Sourceยง

impl<'a> From<&'a PathBuf> for Cow<'a, Path>

Sourceยง

fn from(p: &'a PathBuf) -> Cow<'a, Path>

Creates a clone-on-write pointer from a reference to PathBuf.

This conversion does not clone or allocate.

ยง

impl<'a, S> From<&'a RiAbsoluteStr<S>> for Cow<'a, RiAbsoluteStr<S>>
where S: Spec,

ยง

fn from(s: &'a RiAbsoluteStr<S>) -> Cow<'a, RiAbsoluteStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<&'a RiFragmentStr<S>> for Cow<'a, RiFragmentStr<S>>
where S: Spec,

ยง

fn from(s: &'a RiFragmentStr<S>) -> Cow<'a, RiFragmentStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<&'a RiQueryStr<S>> for Cow<'a, RiQueryStr<S>>
where S: Spec,

ยง

fn from(s: &'a RiQueryStr<S>) -> Cow<'a, RiQueryStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<&'a RiReferenceStr<S>> for Cow<'a, RiReferenceStr<S>>
where S: Spec,

ยง

fn from(s: &'a RiReferenceStr<S>) -> Cow<'a, RiReferenceStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<&'a RiRelativeStr<S>> for Cow<'a, RiRelativeStr<S>>
where S: Spec,

ยง

fn from(s: &'a RiRelativeStr<S>) -> Cow<'a, RiRelativeStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<&'a RiStr<S>> for Cow<'a, RiStr<S>>
where S: Spec,

ยง

fn from(s: &'a RiStr<S>) -> Cow<'a, RiStr<S>>

Converts to this type from the input type.
ยง

impl<'a> From<&'a Rope> for Cow<'a, str>

Attempts to borrow the contents of the Rope, but will convert to an owned string if the contents is not contiguous in memory.

Runs in best case O(1), worst case O(N).

ยง

fn from(r: &'a Rope) -> Cow<'a, str>

Converts to this type from the input type.
1.28.0 ยท Sourceยง

impl<'a> From<&'a String> for Cow<'a, str>

Sourceยง

fn from(s: &'a String) -> Cow<'a, str>

Converts a String reference into a Borrowed variant. No heap allocation is performed, and the string is not copied.

ยงExample
let s = "eggplant".to_string();
assert_eq!(Cow::from(&s), Cow::Borrowed("eggplant"));
ยง

impl<'a> From<&'a UriTemplateStr> for Cow<'a, UriTemplateStr>

ยง

fn from(s: &'a UriTemplateStr) -> Cow<'a, UriTemplateStr>

Converts to this type from the input type.
1.28.0 ยท Sourceยง

impl<'a, T> From<&'a Vec<T>> for Cow<'a, [T]>
where T: Clone,

Sourceยง

fn from(v: &'a Vec<T>) -> Cow<'a, [T]>

Creates a Borrowed variant of Cow from a reference to Vec.

This conversion does not allocate or clone the data.

1.0.0 ยท Sourceยง

impl<'a> From<&'a str> for Cow<'a, str>

Sourceยง

fn from(s: &'a str) -> Cow<'a, str>

Converts a string slice into a Borrowed variant. No heap allocation is performed, and the string is not copied.

ยงExample
assert_eq!(Cow::from("eggplant"), Cow::Borrowed("eggplant"));
1.28.0 ยท Sourceยง

impl<'a> From<CString> for Cow<'a, CStr>

Sourceยง

fn from(s: CString) -> Cow<'a, CStr>

Converts a CString into an owned Cow without copying or allocating.

1.45.0 ยท Sourceยง

impl<T> From<Cow<'_, [T]>> for Box<[T]>
where T: Clone,

Sourceยง

fn from(cow: Cow<'_, [T]>) -> Box<[T]>

Converts a Cow<'_, [T]> into a Box<[T]>

When cow is the Cow::Borrowed variant, this conversion allocates on the heap and copies the underlying slice. Otherwise, it will try to reuse the owned Vecโ€™s allocation.

1.45.0 ยท Sourceยง

impl From<Cow<'_, CStr>> for Box<CStr>

Sourceยง

fn from(cow: Cow<'_, CStr>) -> Box<CStr>

Converts a Cow<'a, CStr> into a Box<CStr>, by copying the contents if they are borrowed.

1.45.0 ยท Sourceยง

impl From<Cow<'_, OsStr>> for Box<OsStr>

Sourceยง

fn from(cow: Cow<'_, OsStr>) -> Box<OsStr>

Converts a Cow<'a, OsStr> into a Box<OsStr>, by copying the contents if they are borrowed.

1.45.0 ยท Sourceยง

impl From<Cow<'_, Path>> for Box<Path>

Sourceยง

fn from(cow: Cow<'_, Path>) -> Box<Path>

Creates a boxed Path from a clone-on-write pointer.

Converting from a Cow::Owned does not clone or allocate.

1.45.0 ยท Sourceยง

impl From<Cow<'_, str>> for Box<str>

Sourceยง

fn from(cow: Cow<'_, str>) -> Box<str>

Converts a Cow<'_, str> into a Box<str>

When cow is the Cow::Borrowed variant, this conversion allocates on the heap and copies the underlying str. Otherwise, it will try to reuse the owned Stringโ€™s allocation.

ยงExamples
use std::borrow::Cow;

let unboxed = Cow::Borrowed("hello");
let boxed: Box<str> = Box::from(unboxed);
println!("{boxed}");
let unboxed = Cow::Owned("hello".to_string());
let boxed: Box<str> = Box::from(unboxed);
println!("{boxed}");
1.14.0 ยท Sourceยง

impl<'a, T> From<Cow<'a, [T]>> for Vec<T>
where [T]: ToOwned<Owned = Vec<T>>,

Sourceยง

fn from(s: Cow<'a, [T]>) -> Vec<T>

Converts a clone-on-write slice into a vector.

If s already owns a Vec<T>, it will be returned directly. If s is borrowing a slice, a new Vec<T> will be allocated and filled by cloning sโ€™s items into it.

ยงExamples
let o: Cow<'_, [i32]> = Cow::Owned(vec![1, 2, 3]);
let b: Cow<'_, [i32]> = Cow::Borrowed(&[1, 2, 3]);
assert_eq!(Vec::from(o), Vec::from(b));
1.45.0 ยท Sourceยง

impl<'a, B> From<Cow<'a, B>> for Arc<B>
where B: ToOwned + ?Sized, Arc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

Sourceยง

fn from(cow: Cow<'a, B>) -> Arc<B>

Creates an atomically reference-counted pointer from a clone-on-write pointer by copying its content.

ยงExample
let cow: Cow<'_, str> = Cow::Borrowed("eggplant");
let shared: Arc<str> = Arc::from(cow);
assert_eq!("eggplant", &shared[..]);
1.45.0 ยท Sourceยง

impl<'a, B> From<Cow<'a, B>> for Rc<B>
where B: ToOwned + ?Sized, Rc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

Sourceยง

fn from(cow: Cow<'a, B>) -> Rc<B>

Creates a reference-counted pointer from a clone-on-write pointer by copying its content.

ยงExample
let cow: Cow<'_, str> = Cow::Borrowed("eggplant");
let shared: Rc<str> = Rc::from(cow);
assert_eq!("eggplant", &shared[..]);
ยง

impl<'a> From<Cow<'a, str>> for Rope

ยง

fn from(text: Cow<'a, str>) -> Rope

Converts to this type from the input type.
1.14.0 ยท Sourceยง

impl<'a> From<Cow<'a, str>> for String

Sourceยง

fn from(s: Cow<'a, str>) -> String

Converts a clone-on-write string to an owned instance of String.

This extracts the owned string, clones the string if it is not already owned.

ยงExample
// If the string is not owned...
let cow: Cow<'_, str> = Cow::Borrowed("eggplant");
// It will allocate on the heap and copy the string.
let owned: String = String::from(cow);
assert_eq!(&owned[..], "eggplant");
ยง

impl<'a> From<Cow<'a, str>> for Value<'a>

ยง

fn from(v: Cow<'a, str>) -> Value<'a>

Converts to this type from the input type.
1.22.0 ยท Sourceยง

impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + 'a>

Sourceยง

fn from(err: Cow<'b, str>) -> Box<dyn Error + 'a>

Converts a Cow into a box of dyn Error.

ยงExamples
use std::error::Error;
use std::mem;
use std::borrow::Cow;

let a_cow_str_error = Cow::from("a str error");
let a_boxed_error = Box::<dyn Error>::from(a_cow_str_error);
assert!(mem::size_of::<Box<dyn Error>>() == mem::size_of_val(&a_boxed_error))
1.22.0 ยท Sourceยง

impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + Send + Sync + 'a>

Sourceยง

fn from(err: Cow<'b, str>) -> Box<dyn Error + Send + Sync + 'a>

Converts a Cow into a box of dyn Error + Send + Sync.

ยงExamples
use std::error::Error;
use std::mem;
use std::borrow::Cow;

let a_cow_str_error = Cow::from("a str error");
let a_boxed_error = Box::<dyn Error + Send + Sync>::from(a_cow_str_error);
assert!(
    mem::size_of::<Box<dyn Error + Send + Sync>>() == mem::size_of_val(&a_boxed_error))
ยง

impl<'key> From<Key<'key>> for Cow<'static, str>

ยง

fn from(key: Key<'key>) -> Cow<'static, str>

Converts to this type from the input type.
1.28.0 ยท Sourceยง

impl<'a> From<OsString> for Cow<'a, OsStr>

Sourceยง

fn from(s: OsString) -> Cow<'a, OsStr>

Moves the string into a Cow::Owned.

1.6.0 ยท Sourceยง

impl<'a> From<PathBuf> for Cow<'a, Path>

Sourceยง

fn from(s: PathBuf) -> Cow<'a, Path>

Creates a clone-on-write pointer from an owned instance of PathBuf.

This conversion does not clone or allocate.

ยง

impl<'a> From<PercentDecode<'a>> for Cow<'a, [u8]>

ยง

fn from(iter: PercentDecode<'a>) -> Cow<'a, [u8]>

Converts to this type from the input type.
ยง

impl<'a> From<PercentEncode<'a>> for Cow<'a, str>

ยง

fn from(iter: PercentEncode<'a>) -> Cow<'a, str>

Converts to this type from the input type.
ยง

impl<'a, S> From<RiAbsoluteString<S>> for Cow<'a, RiAbsoluteStr<S>>
where S: Spec,

ยง

fn from(s: RiAbsoluteString<S>) -> Cow<'a, RiAbsoluteStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<RiFragmentString<S>> for Cow<'a, RiFragmentStr<S>>
where S: Spec,

ยง

fn from(s: RiFragmentString<S>) -> Cow<'a, RiFragmentStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<RiQueryString<S>> for Cow<'a, RiQueryStr<S>>
where S: Spec,

ยง

fn from(s: RiQueryString<S>) -> Cow<'a, RiQueryStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<RiReferenceString<S>> for Cow<'a, RiReferenceStr<S>>
where S: Spec,

ยง

fn from(s: RiReferenceString<S>) -> Cow<'a, RiReferenceStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<RiRelativeString<S>> for Cow<'a, RiRelativeStr<S>>
where S: Spec,

ยง

fn from(s: RiRelativeString<S>) -> Cow<'a, RiRelativeStr<S>>

Converts to this type from the input type.
ยง

impl<'a, S> From<RiString<S>> for Cow<'a, RiStr<S>>
where S: Spec,

ยง

fn from(s: RiString<S>) -> Cow<'a, RiStr<S>>

Converts to this type from the input type.
ยง

impl<'a> From<Rope> for Cow<'a, str>

ยง

fn from(r: Rope) -> Cow<'a, str>

Converts to this type from the input type.
ยง

impl<'a> From<RopeSlice<'a>> for Cow<'a, str>

Attempts to borrow the contents of the slice, but will convert to an owned string if the contents is not contiguous in memory.

Runs in best case O(1), worst case O(N).

ยง

fn from(s: RopeSlice<'a>) -> Cow<'a, str>

Converts to this type from the input type.
1.0.0 ยท Sourceยง

impl<'a> From<String> for Cow<'a, str>

Sourceยง

fn from(s: String) -> Cow<'a, str>

Converts a String into an Owned variant. No heap allocation is performed, and the string is not copied.

ยงExample
let s = "eggplant".to_string();
let s2 = "eggplant".to_string();
assert_eq!(Cow::from(s), Cow::<'static, str>::Owned(s2));
ยง

impl<'a> From<UriTemplateString> for Cow<'a, UriTemplateStr>

ยง

fn from(s: UriTemplateString) -> Cow<'a, UriTemplateStr>

Converts to this type from the input type.
1.8.0 ยท Sourceยง

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

Sourceยง

fn from(v: Vec<T>) -> Cow<'a, [T]>

Creates an Owned variant of Cow from an owned instance of Vec.

This conversion does not allocate or clone the data.

1.12.0 ยท Sourceยง

impl<'a, 'b> FromIterator<&'b str> for Cow<'a, str>

Sourceยง

fn from_iter<I>(it: I) -> Cow<'a, str>
where I: IntoIterator<Item = &'b str>,

Creates a value from an iterator. Read more
1.80.0 ยท Sourceยง

impl<'a> FromIterator<Cow<'a, str>> for Box<str>

Sourceยง

fn from_iter<T>(iter: T) -> Box<str>
where T: IntoIterator<Item = Cow<'a, str>>,

Creates a value from an iterator. Read more
ยง

impl<'a> FromIterator<Cow<'a, str>> for Rope

ยง

fn from_iter<T>(iter: T) -> Rope
where T: IntoIterator<Item = Cow<'a, str>>,

Creates a value from an iterator. Read more
1.19.0 ยท Sourceยง

impl<'a> FromIterator<Cow<'a, str>> for String

Sourceยง

fn from_iter<I>(iter: I) -> String
where I: IntoIterator<Item = Cow<'a, str>>,

Creates a value from an iterator. Read more
1.12.0 ยท Sourceยง

impl<'a> FromIterator<String> for Cow<'a, str>

Sourceยง

fn from_iter<I>(it: I) -> Cow<'a, str>
where I: IntoIterator<Item = String>,

Creates a value from an iterator. Read more
1.0.0 ยท Sourceยง

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

Sourceยง

fn from_iter<I>(it: I) -> Cow<'a, [T]>
where I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
1.12.0 ยท Sourceยง

impl<'a> FromIterator<char> for Cow<'a, str>

Sourceยง

fn from_iter<I>(it: I) -> Cow<'a, str>
where I: IntoIterator<Item = char>,

Creates a value from an iterator. Read more
ยง

impl<'a> FromParallelIterator<Cow<'a, str>> for String

Collects string slices from a parallel iterator into a string.

ยง

fn from_par_iter<I>(par_iter: I) -> String
where I: IntoParallelIterator<Item = Cow<'a, str>>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
ยง

impl<'a, C, T> FromParallelIterator<T> for Cow<'a, C>
where C: ToOwned + ?Sized, <C as ToOwned>::Owned: FromParallelIterator<T>, T: Send,

Collects an arbitrary Cow collection.

Note, the standard library only has FromIterator for Cow<'a, str> and Cow<'a, [T]>, because no one thought to add a blanket implementation before it was stabilized.

ยง

fn from_par_iter<I>(par_iter: I) -> Cow<'a, C>
where I: IntoParallelIterator<Item = T>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
1.0.0 ยท Sourceยง

impl<B> Hash for Cow<'_, B>
where B: Hash + ToOwned + ?Sized,

Sourceยง

fn hash<H>(&self, state: &mut H)
where H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 ยท Sourceยง

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Sourceยง

impl<T> IdentFragment for Cow<'_, T>
where T: IdentFragment + ToOwned + ?Sized,

Sourceยง

fn span(&self) -> Option<Span>

Span associated with this IdentFragment. Read more
Sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Format this value as an identifier fragment.
Sourceยง

impl<'de, 'a, E> IntoDeserializer<'de, E> for Cow<'a, str>
where E: Error,

Sourceยง

type Deserializer = CowStrDeserializer<'a, E>

The type of the deserializer being converted into.
Sourceยง

fn into_deserializer(self) -> CowStrDeserializer<'a, E>

Convert this value into a deserializer.
ยง

impl Label for Cow<'static, str>

ยง

fn as_any(&self) -> &(dyn Any + 'static)

ยง

fn dyn_eq(&self, other: &(dyn Label + 'static)) -> bool

ยง

fn dyn_hash(&self, state: &mut dyn Hasher)

ยง

fn dyn_clone(&self) -> Box<dyn Label>

ยง

fn dyn_debug(&self, f: &mut Formatter<'_>) -> Result<(), Error>

1.0.0 ยท Sourceยง

impl<B> Ord for Cow<'_, B>
where B: Ord + ToOwned + ?Sized,

Sourceยง

fn cmp(&self, other: &Cow<'_, B>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 ยท Sourceยง

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 ยท Sourceยง

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 ยท Sourceยง

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
ยง

impl<'a> ParallelExtend<Cow<'a, str>> for String

Extends a string with string slices from a parallel iterator.

ยง

fn par_extend<I>(&mut self, par_iter: I)
where I: IntoParallelIterator<Item = Cow<'a, str>>,

Extends an instance of the collection with the elements drawn from the parallel iterator par_iter. Read more
1.0.0 ยท Sourceยง

impl<T, U> PartialEq<&[U]> for Cow<'_, [T]>
where T: PartialEq<U> + Clone,

Sourceยง

fn eq(&self, other: &&[U]) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &&[U]) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<&'b OsStr> for Cow<'a, OsStr>

Sourceยง

fn eq(&self, other: &&'b OsStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<&'b OsStr> for Cow<'a, Path>

Sourceยง

fn eq(&self, other: &&'b OsStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.6.0 ยท Sourceยง

impl<'a, 'b> PartialEq<&'b Path> for Cow<'a, Path>

Sourceยง

fn eq(&self, other: &&'b Path) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<&'a Path> for Cow<'b, OsStr>

Sourceยง

fn eq(&self, other: &&'a Path) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiAbsoluteStr<S>> for Cow<'_, RiAbsoluteStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiAbsoluteStr<S>> for Cow<'_, RiStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<&RiAbsoluteStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &&RiAbsoluteStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiFragmentStr<S>> for Cow<'_, RiFragmentStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiFragmentStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<&RiFragmentStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &&RiFragmentStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiQueryStr<S>> for Cow<'_, RiQueryStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiQueryStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<&RiQueryStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &&RiQueryStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiReferenceStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiReferenceStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<&RiReferenceStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &&RiReferenceStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiReferenceStr<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiReferenceStr<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiReferenceStr<T>> for Cow<'_, RiStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiReferenceStr<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiRelativeStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiRelativeStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiRelativeStr<S>> for Cow<'_, RiRelativeStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiRelativeStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<&RiRelativeStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &&RiRelativeStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiStr<S>> for Cow<'_, RiStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<&RiStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &&RiStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<&RiStr<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &&RiStr<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl PartialEq<&UriTemplateStr> for Cow<'_, str>

ยง

fn eq(&self, o: &&UriTemplateStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<T, U> PartialEq<&mut [U]> for Cow<'_, [T]>
where T: PartialEq<U> + Clone,

Sourceยง

fn eq(&self, other: &&mut [U]) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &&mut [U]) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>

Sourceยง

fn eq(&self, other: &&'b str) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &&'b str) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for &RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for &RiStr<T>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiAbsoluteStr<S>>> for RiStr<T>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiAbsoluteStr<T>>> for &RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiAbsoluteStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiFragmentStr<T>>> for &RiFragmentStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiFragmentStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiQueryStr<T>>> for &RiQueryStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiQueryStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiReferenceStr<T>>> for &RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiReferenceStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiReferenceStr<T>>> for &RiReferenceStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiReferenceStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiReferenceStr<T>>> for &RiRelativeStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiReferenceStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiReferenceStr<T>>> for &RiStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiReferenceStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiReferenceStr<T>>> for RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiReferenceStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiReferenceStr<T>>> for RiRelativeStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiReferenceStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiReferenceStr<T>>> for RiStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiReferenceStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiRelativeStr<S>>> for &RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiRelativeStr<S>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiRelativeStr<S>>> for RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiRelativeStr<S>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiRelativeStr<T>>> for &RiRelativeStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiRelativeStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiStr<S>>> for &RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiStr<S>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiStr<S>>> for RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiStr<S>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiStr<T>>> for &RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiStr<T>>> for &RiStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<Cow<'_, RiStr<T>>> for RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &Cow<'_, RiStr<T>>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for &RiAbsoluteStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for &RiFragmentStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for &RiQueryStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for &RiReferenceStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for &RiRelativeStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for &RiStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl PartialEq<Cow<'_, str>> for &UriTemplateStr

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for RiAbsoluteStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for RiFragmentStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for RiQueryStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for RiReferenceStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for RiRelativeStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<Cow<'_, str>> for RiStr<S>
where S: Spec,

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl PartialEq<Cow<'_, str>> for UriTemplateStr

ยง

fn eq(&self, o: &Cow<'_, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for &'b OsStr

Sourceยง

fn eq(&self, other: &Cow<'a, OsStr>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<Cow<'a, OsStr>> for OsStr

Sourceยง

fn eq(&self, other: &Cow<'a, OsStr>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a> PartialEq<Cow<'a, OsStr>> for Path

Sourceยง

fn eq(&self, other: &Cow<'a, OsStr>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<Cow<'a, Path>> for &'b OsStr

Sourceยง

fn eq(&self, other: &Cow<'a, Path>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.6.0 ยท Sourceยง

impl<'a, 'b> PartialEq<Cow<'a, Path>> for &'b Path

Sourceยง

fn eq(&self, other: &Cow<'a, Path>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a> PartialEq<Cow<'a, Path>> for OsStr

Sourceยง

fn eq(&self, other: &Cow<'a, Path>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.6.0 ยท Sourceยง

impl<'a> PartialEq<Cow<'a, Path>> for Path

Sourceยง

fn eq(&self, other: &Cow<'a, Path>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<'a, 'b> PartialEq<Cow<'a, str>> for &'b str

Sourceยง

fn eq(&self, other: &Cow<'a, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &Cow<'a, str>) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<'a> PartialEq<Cow<'a, str>> for Rope

ยง

fn eq(&self, other: &Cow<'a, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<'a, 'b> PartialEq<Cow<'a, str>> for String

Sourceยง

fn eq(&self, other: &Cow<'a, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &Cow<'a, str>) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<'a, 'b> PartialEq<Cow<'a, str>> for str

Sourceยง

fn eq(&self, other: &Cow<'a, str>) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &Cow<'a, str>) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
where B: PartialEq<C> + ToOwned + ?Sized, C: ToOwned + ?Sized,

Sourceยง

fn eq(&self, other: &Cow<'b, C>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<Cow<'b, OsStr>> for &'a Path

Sourceยง

fn eq(&self, other: &Cow<'b, OsStr>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<OsStr> for Cow<'a, OsStr>

Sourceยง

fn eq(&self, other: &OsStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a> PartialEq<OsStr> for Cow<'a, Path>

Sourceยง

fn eq(&self, other: &OsStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialEq<OsString> for Cow<'a, OsStr>

Sourceยง

fn eq(&self, other: &OsString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a> PartialEq<OsString> for Cow<'a, Path>

Sourceยง

fn eq(&self, other: &OsString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a> PartialEq<Path> for Cow<'a, OsStr>

Sourceยง

fn eq(&self, other: &Path) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.6.0 ยท Sourceยง

impl<'a> PartialEq<Path> for Cow<'a, Path>

Sourceยง

fn eq(&self, other: &Path) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a> PartialEq<PathBuf> for Cow<'a, OsStr>

Sourceยง

fn eq(&self, other: &PathBuf) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.6.0 ยท Sourceยง

impl<'a> PartialEq<PathBuf> for Cow<'a, Path>

Sourceยง

fn eq(&self, other: &PathBuf) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiAbsoluteStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiAbsoluteStr<S>> for Cow<'_, RiStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiAbsoluteStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiAbsoluteStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiAbsoluteStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiAbsoluteString<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiAbsoluteString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiAbsoluteString<S>> for Cow<'_, RiStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiAbsoluteString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiAbsoluteString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiAbsoluteString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiAbsoluteString<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiAbsoluteString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiFragmentStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiFragmentStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiFragmentString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiFragmentString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiFragmentString<T>> for Cow<'_, RiFragmentStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiFragmentString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiQueryStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiQueryStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiQueryString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiQueryString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiQueryString<T>> for Cow<'_, RiQueryStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiQueryString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiReferenceStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiReferenceStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiReferenceStr<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiReferenceStr<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiReferenceStr<T>> for Cow<'_, RiStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiReferenceStr<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiReferenceString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiReferenceString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiReferenceString<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiReferenceString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiReferenceString<T>> for Cow<'_, RiReferenceStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiReferenceString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiReferenceString<T>> for Cow<'_, RiRelativeStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiReferenceString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiReferenceString<T>> for Cow<'_, RiStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiReferenceString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiRelativeStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiRelativeStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiRelativeStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiRelativeStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiRelativeString<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiRelativeString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiRelativeString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiRelativeString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiRelativeString<T>> for Cow<'_, RiRelativeStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiRelativeString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiStr<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiStr<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiStr<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiString<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S> PartialEq<RiString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn eq(&self, o: &RiString<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiString<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<S, T> PartialEq<RiString<T>> for Cow<'_, RiStr<S>>
where S: Spec, T: Spec,

ยง

fn eq(&self, o: &RiString<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<'a> PartialEq<Rope> for Cow<'a, str>

ยง

fn eq(&self, other: &Rope) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<'a, 'b> PartialEq<RopeSlice<'a>> for Cow<'b, str>

ยง

fn eq(&self, other: &RopeSlice<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<'a, 'b> PartialEq<String> for Cow<'a, str>

Sourceยง

fn eq(&self, other: &String) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &String) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl PartialEq<UriTemplateStr> for Cow<'_, str>

ยง

fn eq(&self, o: &UriTemplateStr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl PartialEq<UriTemplateString> for Cow<'_, str>

ยง

fn eq(&self, o: &UriTemplateString) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<T, U, A> PartialEq<Vec<U, A>> for Cow<'_, [T]>
where A: Allocator, T: PartialEq<U> + Clone,

Sourceยง

fn eq(&self, other: &Vec<U, A>) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &Vec<U, A>) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl<T, U, A> PartialEq<Vec<U, A>> for Cow<'_, [T]>
where A: Allocator, T: PartialEq<U> + Clone,

ยง

fn eq(&self, other: &Vec<U, A>) -> bool

Tests for self and other values to be equal, and is used by ==.
ยง

fn ne(&self, other: &Vec<U, A>) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 ยท Sourceยง

impl<'a, 'b> PartialEq<str> for Cow<'a, str>

Sourceยง

fn eq(&self, other: &str) -> bool

Tests for self and other values to be equal, and is used by ==.
Sourceยง

fn ne(&self, other: &str) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'b OsStr> for Cow<'a, OsStr>

Sourceยง

fn partial_cmp(&self, other: &&'b OsStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'b OsStr> for Cow<'a, Path>

Sourceยง

fn partial_cmp(&self, other: &&'b OsStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'b Path> for Cow<'a, Path>

Sourceยง

fn partial_cmp(&self, other: &&'b Path) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<&'a Path> for Cow<'b, OsStr>

Sourceยง

fn partial_cmp(&self, other: &&'a Path) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiAbsoluteStr<S>> for Cow<'_, RiAbsoluteStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiAbsoluteStr<S>> for Cow<'_, RiStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<&RiAbsoluteStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &&RiAbsoluteStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiFragmentStr<S>> for Cow<'_, RiFragmentStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiFragmentStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<&RiFragmentStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &&RiFragmentStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiQueryStr<S>> for Cow<'_, RiQueryStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiQueryStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<&RiQueryStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &&RiQueryStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiReferenceStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<&RiReferenceStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &&RiReferenceStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiReferenceStr<T>> for Cow<'_, RiStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiReferenceStr<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiRelativeStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiRelativeStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiRelativeStr<S>> for Cow<'_, RiRelativeStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiRelativeStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<&RiRelativeStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &&RiRelativeStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiStr<S>> for Cow<'_, RiStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<&RiStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &&RiStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<&RiStr<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &&RiStr<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl PartialOrd<&UriTemplateStr> for Cow<'_, str>

ยง

fn partial_cmp(&self, o: &&UriTemplateStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiAbsoluteStr<S>>> for &RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiAbsoluteStr<S>>> for &RiStr<T>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiAbsoluteStr<S>>> for RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiAbsoluteStr<S>>> for RiStr<T>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<S>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiAbsoluteStr<T>>> for &RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiAbsoluteStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiFragmentStr<T>>> for &RiFragmentStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiFragmentStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiQueryStr<T>>> for &RiQueryStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiQueryStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiReferenceStr<T>>> for &RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiReferenceStr<T>>> for &RiReferenceStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiReferenceStr<T>>> for &RiRelativeStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiReferenceStr<T>>> for &RiStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiReferenceStr<T>>> for RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiReferenceStr<T>>> for RiRelativeStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiReferenceStr<T>>> for RiStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiReferenceStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiRelativeStr<S>>> for &RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiRelativeStr<S>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiRelativeStr<S>>> for RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiRelativeStr<S>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiRelativeStr<T>>> for &RiRelativeStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiRelativeStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiStr<S>>> for &RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiStr<S>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiStr<S>>> for RiReferenceStr<T>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiStr<S>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiStr<T>>> for &RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiStr<T>>> for &RiStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<Cow<'_, RiStr<T>>> for RiAbsoluteStr<S>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, RiStr<T>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for &RiAbsoluteStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for &RiFragmentStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for &RiQueryStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for &RiReferenceStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for &RiRelativeStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for &RiStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl PartialOrd<Cow<'_, str>> for &UriTemplateStr

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for RiAbsoluteStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for RiFragmentStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for RiQueryStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for RiReferenceStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for RiRelativeStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<Cow<'_, str>> for RiStr<S>
where S: Spec,

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl PartialOrd<Cow<'_, str>> for UriTemplateStr

ยง

fn partial_cmp(&self, o: &Cow<'_, str>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for &'b OsStr

Sourceยง

fn partial_cmp(&self, other: &Cow<'a, OsStr>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, OsStr>> for OsStr

Sourceยง

fn partial_cmp(&self, other: &Cow<'a, OsStr>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, OsStr>> for Path

Sourceยง

fn partial_cmp(&self, other: &Cow<'a, OsStr>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b OsStr

Sourceยง

fn partial_cmp(&self, other: &Cow<'a, Path>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'a, Path>> for &'b Path

Sourceยง

fn partial_cmp(&self, other: &Cow<'a, Path>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, Path>> for OsStr

Sourceยง

fn partial_cmp(&self, other: &Cow<'a, Path>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Cow<'a, Path>> for Path

Sourceยง

fn partial_cmp(&self, other: &Cow<'a, Path>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<Cow<'b, OsStr>> for &'a Path

Sourceยง

fn partial_cmp(&self, other: &Cow<'b, OsStr>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<OsStr> for Cow<'a, OsStr>

Sourceยง

fn partial_cmp(&self, other: &OsStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<OsStr> for Cow<'a, Path>

Sourceยง

fn partial_cmp(&self, other: &OsStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a, 'b> PartialOrd<OsString> for Cow<'a, OsStr>

Sourceยง

fn partial_cmp(&self, other: &OsString) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<OsString> for Cow<'a, Path>

Sourceยง

fn partial_cmp(&self, other: &OsString) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Path> for Cow<'a, OsStr>

Sourceยง

fn partial_cmp(&self, other: &Path) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<Path> for Cow<'a, Path>

Sourceยง

fn partial_cmp(&self, other: &Path) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<PathBuf> for Cow<'a, OsStr>

Sourceยง

fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.8.0 ยท Sourceยง

impl<'a> PartialOrd<PathBuf> for Cow<'a, Path>

Sourceยง

fn partial_cmp(&self, other: &PathBuf) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, RiStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiAbsoluteStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiAbsoluteStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiAbsoluteString<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiAbsoluteString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiAbsoluteString<S>> for Cow<'_, RiStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiAbsoluteString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiAbsoluteString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiAbsoluteString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiAbsoluteString<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiAbsoluteString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiFragmentStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiFragmentStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiFragmentString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiFragmentString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiFragmentString<T>> for Cow<'_, RiFragmentStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiFragmentString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiQueryStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiQueryStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiQueryString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiQueryString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiQueryString<T>> for Cow<'_, RiQueryStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiQueryString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiReferenceStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiRelativeStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiReferenceStr<T>> for Cow<'_, RiStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceStr<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiReferenceString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiReferenceString<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiReferenceString<T>> for Cow<'_, RiReferenceStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiReferenceString<T>> for Cow<'_, RiRelativeStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiReferenceString<T>> for Cow<'_, RiStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiReferenceString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiRelativeStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiRelativeStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiRelativeStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiRelativeStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiRelativeString<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiRelativeString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiRelativeString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiRelativeString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiRelativeString<T>> for Cow<'_, RiRelativeStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiRelativeString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiStr<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiStr<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiStr<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiStr<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiStr<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiString<S>> for Cow<'_, RiReferenceStr<T>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S> PartialOrd<RiString<S>> for Cow<'_, str>
where S: Spec,

ยง

fn partial_cmp(&self, o: &RiString<S>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiString<T>> for Cow<'_, RiAbsoluteStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<S, T> PartialOrd<RiString<T>> for Cow<'_, RiStr<S>>
where S: Spec, T: Spec,

ยง

fn partial_cmp(&self, o: &RiString<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl PartialOrd<UriTemplateStr> for Cow<'_, str>

ยง

fn partial_cmp(&self, o: &UriTemplateStr) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl PartialOrd<UriTemplateString> for Cow<'_, str>

ยง

fn partial_cmp(&self, o: &UriTemplateString) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
1.0.0 ยท Sourceยง

impl<'a, B> PartialOrd for Cow<'a, B>
where B: PartialOrd + ToOwned + ?Sized,

Sourceยง

fn partial_cmp(&self, other: &Cow<'a, B>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท Sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท Sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท Sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท Sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl<C> RequestConnection for Cow<'_, C>
where C: RequestConnection + ToOwned + ?Sized,

ยง

type Buf = <C as RequestConnection>::Buf

Type used as buffer to store raw replies or events before they are parsed.
ยง

fn send_request_with_reply<R>( &self, bufs: &[IoSlice<'_>], fds: Vec<OwnedFd>, ) -> Result<Cookie<'_, Cow<'_, C>, R>, ConnectionError>
where R: TryParse,

Send a request with a reply to the server. Read more
ยง

fn send_trait_request_with_reply<R>( &self, request: R, ) -> Result<Cookie<'_, Cow<'_, C>, <R as ReplyRequest>::Reply>, ConnectionError>
where R: ReplyRequest,

Send a request with a reply to the server. Read more
ยง

fn send_request_with_reply_with_fds<R>( &self, bufs: &[IoSlice<'_>], fds: Vec<OwnedFd>, ) -> Result<CookieWithFds<'_, Cow<'_, C>, R>, ConnectionError>
where R: TryParseFd,

Send a request with a reply containing file descriptors to the server. Read more
ยง

fn send_trait_request_with_reply_with_fds<R>( &self, request: R, ) -> Result<CookieWithFds<'_, Cow<'_, C>, <R as ReplyFDsRequest>::Reply>, ConnectionError>
where R: ReplyFDsRequest,

Send a request with a reply containing file descriptors to the server. Read more
ยง

fn send_request_without_reply( &self, bufs: &[IoSlice<'_>], fds: Vec<OwnedFd>, ) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>

Send a request without a reply to the server. Read more
ยง

fn send_trait_request_without_reply<R>( &self, request: R, ) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>
where R: VoidRequest,

Send a request without a reply to the server. Read more
ยง

fn discard_reply(&self, sequence: u64, kind: RequestKind, mode: DiscardMode)

A reply to an error should be discarded. Read more
ยง

fn prefetch_extension_information( &self, extension_name: &'static str, ) -> Result<(), ConnectionError>

Prefetches information about an extension. Read more
ยง

fn extension_information( &self, extension_name: &'static str, ) -> Result<Option<ExtensionInformation>, ConnectionError>

Get information about an extension. Read more
ยง

fn wait_for_reply_or_error( &self, sequence: u64, ) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ReplyError>

Wait for the reply to a request. Read more
ยง

fn wait_for_reply_or_raw_error( &self, sequence: u64, ) -> Result<ReplyOrError<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

Wait for the reply to a request. Read more
ยง

fn wait_for_reply( &self, sequence: u64, ) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

Wait for the reply to a request. Read more
ยง

fn wait_for_reply_with_fds( &self, sequence: u64, ) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), ReplyError>

Wait for the reply to a request that has FDs. Read more
ยง

fn wait_for_reply_with_fds_raw( &self, sequence: u64, ) -> Result<ReplyOrError<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), <Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

Wait for the reply to a request that has FDs. Read more
ยง

fn check_for_error(&self, sequence: u64) -> Result<(), ReplyError>

Check whether a request that does not have a reply caused an X11 error. Read more
ยง

fn check_for_raw_error( &self, sequence: u64, ) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

Check whether a request that does not have a reply caused an X11 error. Read more
ยง

fn prefetch_maximum_request_bytes(&self)

Prefetches the maximum request length. Read more
ยง

fn maximum_request_bytes(&self) -> usize

The maximum number of bytes that the X11 server accepts in a request.
ยง

fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>

Parse a generic error.
ยง

fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>

Parse a generic event.
Sourceยง

impl<'a, T> Serialize for Cow<'a, T>
where T: Serialize + ToOwned + ?Sized,

Sourceยง

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Sourceยง

impl<T> ToTokens for Cow<'_, T>
where T: ToTokens + ToOwned + ?Sized,

Sourceยง

fn to_tokens(&self, tokens: &mut TokenStream)

๐Ÿ”ฌThis is a nightly-only experimental API. (proc_macro_totokens)
Write self to the given TokenStream. Read more
Sourceยง

fn to_token_stream(&self) -> TokenStream

๐Ÿ”ฌThis is a nightly-only experimental API. (proc_macro_totokens)
Convert self directly into a TokenStream object. Read more
Sourceยง

fn into_token_stream(self) -> TokenStream
where Self: Sized,

๐Ÿ”ฌThis is a nightly-only experimental API. (proc_macro_totokens)
Convert self directly into a TokenStream object. Read more
Sourceยง

impl<'a, T> ToTokens for Cow<'a, T>
where T: ToOwned + ToTokens + ?Sized,

Sourceยง

fn to_tokens(&self, tokens: &mut TokenStream)

Write self to the given TokenStream. Read more
Sourceยง

fn to_token_stream(&self) -> TokenStream

Convert self directly into a TokenStream object. Read more
Sourceยง

fn into_token_stream(self) -> TokenStream
where Self: Sized,

Convert self directly into a TokenStream object. Read more
ยง

impl<'a> TryFrom<Cow<'a, str>> for ObjectPath<'a>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from(value: Cow<'a, str>) -> Result<ObjectPath<'a>, Error>

Performs the conversion.
ยง

impl<'g> TryFrom<Cow<'g, str>> for Guid<'g>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from( value: Cow<'g, str>, ) -> Result<Guid<'g>, <Guid<'g> as TryFrom<Cow<'g, str>>>::Error>

Performs the conversion.
ยง

impl<'name> TryFrom<Cow<'name, str>> for BusName<'name>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from(value: Cow<'name, str>) -> Result<BusName<'name>, Error>

Performs the conversion.
ยง

impl<'s> TryFrom<Cow<'s, str>> for ErrorName<'s>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from(value: Cow<'s, str>) -> Result<ErrorName<'s>, Error>

Performs the conversion.
ยง

impl<'s> TryFrom<Cow<'s, str>> for InterfaceName<'s>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from(value: Cow<'s, str>) -> Result<InterfaceName<'s>, Error>

Performs the conversion.
ยง

impl<'s> TryFrom<Cow<'s, str>> for MemberName<'s>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from(value: Cow<'s, str>) -> Result<MemberName<'s>, Error>

Performs the conversion.
ยง

impl<'s> TryFrom<Cow<'s, str>> for PropertyName<'s>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from(value: Cow<'s, str>) -> Result<PropertyName<'s>, Error>

Performs the conversion.
ยง

impl<'s> TryFrom<Cow<'s, str>> for UniqueName<'s>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from(value: Cow<'s, str>) -> Result<UniqueName<'s>, Error>

Performs the conversion.
ยง

impl<'s> TryFrom<Cow<'s, str>> for WellKnownName<'s>

ยง

type Error = Error

The type returned in the event of a conversion error.
ยง

fn try_from(value: Cow<'s, str>) -> Result<WellKnownName<'s>, Error>

Performs the conversion.
ยง

impl<T> Type for Cow<'_, T>
where T: Type + ToOwned + ?Sized,

ยง

const SIGNATURE: &'static Signature = T::SIGNATURE

The signature for the implementing type, in parsed format. Read more
ยง

impl<'a, T> Writeable for Cow<'a, T>
where T: Writeable + ToOwned + ?Sized,

ยง

fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
where W: Write + ?Sized,

Writes a string to the given sink. Errors from the sink are bubbled up. The default implementation delegates to write_to_parts, and discards any Part annotations.
ยง

fn write_to_parts<W>(&self, sink: &mut W) -> Result<(), Error>
where W: PartsWrite + ?Sized,

Write bytes and Part annotations to the given sink. Errors from the sink are bubbled up. The default implementation delegates to write_to, and doesnโ€™t produce any Part annotations.
ยง

fn writeable_length_hint(&self) -> LengthHint

Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
ยง

fn write_to_string(&self) -> Cow<'_, str>

Creates a new String with the data from this Writeable. Like ToString, but smaller and faster. Read more
ยง

impl<'a, T> Yokeable<'a> for Cow<'static, T>
where T: 'static + ToOwned + ?Sized, <T as ToOwned>::Owned: Sized,

ยง

type Output = Cow<'a, T>

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
ยง

fn transform(&'a self) -> &'a Cow<'a, T>

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
ยง

fn transform_owned(self) -> Cow<'a, T>

This method must cast self between Self<'static> and Self<'a>. Read more
ยง

unsafe fn make(from: Cow<'a, T>) -> Cow<'static, T>

This method can be used to cast away Self<'a>โ€™s lifetime. Read more
ยง

fn transform_mut<F>(&'a mut self, f: F)
where F: 'static + for<'b> FnOnce(&'b mut <Cow<'static, T> as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>, and pass it to f. Read more
ยง

impl<'zf, B> ZeroFrom<'zf, Cow<'_, B>> for Cow<'zf, B>
where B: ToOwned + ?Sized,

ยง

fn zero_from(other: &'zf Cow<'_, B>) -> Cow<'zf, B>

Clone the other C into a struct that may retain references into C.
ยง

impl<'zf> ZeroFrom<'zf, String> for Cow<'zf, str>

ยง

fn zero_from(other: &'zf String) -> Cow<'zf, str>

Clone the other C into a struct that may retain references into C.
ยง

impl<'zf> ZeroFrom<'zf, str> for Cow<'zf, str>

ยง

fn zero_from(other: &'zf str) -> Cow<'zf, str>

Clone the other C into a struct that may retain references into C.
Sourceยง

impl<B> DerefPure for Cow<'_, B>
where B: ToOwned + ?Sized, <B as ToOwned>::Owned: Borrow<B>,

1.0.0 ยท Sourceยง

impl<B> Eq for Cow<'_, B>
where B: Eq + ToOwned + ?Sized,

ยง

impl<T> IoSafe for Cow<'_, T>
where T: Clone + IoSafe,

Auto Trait Implementationsยง

ยง

impl<'a, B> Freeze for Cow<'a, B>
where <B as ToOwned>::Owned: Freeze, B: ?Sized,

ยง

impl<'a, B> RefUnwindSafe for Cow<'a, B>

ยง

impl<'a, B> Send for Cow<'a, B>
where <B as ToOwned>::Owned: Send, B: Sync + ?Sized,

ยง

impl<'a, B> Sync for Cow<'a, B>
where <B as ToOwned>::Owned: Sync, B: Sync + ?Sized,

ยง

impl<'a, B> Unpin for Cow<'a, B>
where <B as ToOwned>::Owned: Unpin, B: ?Sized,

ยง

impl<'a, B> UnwindSafe for Cow<'a, B>
where <B as ToOwned>::Owned: UnwindSafe, B: RefUnwindSafe + ?Sized,

Blanket Implementationsยง

Sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
ยง

impl<T> AsLabel<T> for T
where T: Label,

ยง

fn as_label(&self) -> Box<dyn Label>

Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Sourceยง

impl<T> CloneToUninit for T
where T: Clone,

Sourceยง

unsafe fn clone_to_uninit(&self, dst: *mut u8)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
ยง

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
ยง

impl<C> ConnectionExt for C
where C: ConnectionExt + ?Sized,

ยง

fn change_property8<A, B>( &self, mode: PropMode, window: u32, property: A, type_: B, data: &[u8], ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

Change a property on a window with format 8.
ยง

fn change_property16<A, B>( &self, mode: PropMode, window: u32, property: A, type_: B, data: &[u16], ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

Change a property on a window with format 16.
ยง

fn change_property32<A, B>( &self, mode: PropMode, window: u32, property: A, type_: B, data: &[u32], ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

Change a property on a window with format 32.
ยง

fn sync(&self) -> Result<(), ReplyError>

Synchronise with the X11 server. Read more
ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn create_window<'c, 'input>( &'c self, depth: u8, wid: u32, parent: u32, x: i16, y: i16, width: u16, height: u16, border_width: u16, class: WindowClass, visual: u32, value_list: &'input CreateWindowAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Creates a window. Read more
ยง

fn change_window_attributes<'c, 'input>( &'c self, window: u32, value_list: &'input ChangeWindowAttributesAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

change window attributes. Read more
ยง

fn get_window_attributes( &self, window: u32, ) -> Result<Cookie<'_, Self, GetWindowAttributesReply>, ConnectionError>

Gets window attributes. Read more
ยง

fn destroy_window( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Destroys a window. Read more
ยง

fn destroy_subwindows( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn change_save_set( &self, mode: SetMode, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Changes a clientโ€™s save set. Read more
ยง

fn reparent_window( &self, window: u32, parent: u32, x: i16, y: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Reparents a window. Read more
ยง

fn map_window( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Makes a window visible. Read more
ยง

fn map_subwindows( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn unmap_window( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Makes a window invisible. Read more
ยง

fn unmap_subwindows( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn configure_window<'c, 'input>( &'c self, window: u32, value_list: &'input ConfigureWindowAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Configures window attributes. Read more
ยง

fn circulate_window( &self, direction: Circulate, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Change window stacking order. Read more
ยง

fn get_geometry( &self, drawable: u32, ) -> Result<Cookie<'_, Self, GetGeometryReply>, ConnectionError>

Get current window geometry. Read more
ยง

fn query_tree( &self, window: u32, ) -> Result<Cookie<'_, Self, QueryTreeReply>, ConnectionError>

query the window tree. Read more
ยง

fn intern_atom<'c, 'input>( &'c self, only_if_exists: bool, name: &'input [u8], ) -> Result<Cookie<'c, Self, InternAtomReply>, ConnectionError>

Get atom identifier by name. Read more
ยง

fn get_atom_name( &self, atom: u32, ) -> Result<Cookie<'_, Self, GetAtomNameReply>, ConnectionError>

ยง

fn change_property<'c, 'input, A, B>( &'c self, mode: PropMode, window: u32, property: A, type_: B, format: u8, data_len: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

Changes a window property. Read more
ยง

fn delete_property( &self, window: u32, property: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn get_property<A, B>( &self, delete: bool, window: u32, property: A, type_: B, long_offset: u32, long_length: u32, ) -> Result<Cookie<'_, Self, GetPropertyReply>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

Gets a window property. Read more
ยง

fn list_properties( &self, window: u32, ) -> Result<Cookie<'_, Self, ListPropertiesReply>, ConnectionError>

ยง

fn set_selection_owner<A, B>( &self, owner: A, selection: u32, time: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

Sets the owner of a selection. Read more
ยง

fn get_selection_owner( &self, selection: u32, ) -> Result<Cookie<'_, Self, GetSelectionOwnerReply>, ConnectionError>

Gets the owner of a selection. Read more
ยง

fn convert_selection<A, B>( &self, requestor: u32, selection: u32, target: u32, property: A, time: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

ยง

fn send_event<A, B>( &self, propagate: bool, destination: A, event_mask: EventMask, event: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<[u8; 32]>,

send an event. Read more
ยง

fn grab_pointer<A, B, C>( &self, owner_events: bool, grab_window: u32, event_mask: EventMask, pointer_mode: GrabMode, keyboard_mode: GrabMode, confine_to: A, cursor: B, time: C, ) -> Result<Cookie<'_, Self, GrabPointerReply>, ConnectionError>
where A: Into<u32>, B: Into<u32>, C: Into<u32>,

Grab the pointer. Read more
ยง

fn ungrab_pointer<A>( &self, time: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

release the pointer. Read more
ยง

fn grab_button<A, B>( &self, owner_events: bool, grab_window: u32, event_mask: EventMask, pointer_mode: GrabMode, keyboard_mode: GrabMode, confine_to: A, cursor: B, button: ButtonIndex, modifiers: ModMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

Grab pointer button(s). Read more
ยง

fn ungrab_button( &self, button: ButtonIndex, grab_window: u32, modifiers: ModMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn change_active_pointer_grab<A, B>( &self, cursor: A, time: B, event_mask: EventMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

ยง

fn grab_keyboard<A>( &self, owner_events: bool, grab_window: u32, time: A, pointer_mode: GrabMode, keyboard_mode: GrabMode, ) -> Result<Cookie<'_, Self, GrabKeyboardReply>, ConnectionError>
where A: Into<u32>,

Grab the keyboard. Read more
ยง

fn ungrab_keyboard<A>( &self, time: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn grab_key<A>( &self, owner_events: bool, grab_window: u32, modifiers: ModMask, key: A, pointer_mode: GrabMode, keyboard_mode: GrabMode, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u8>,

Grab keyboard key(s). Read more
ยง

fn ungrab_key<A>( &self, key: A, grab_window: u32, modifiers: ModMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u8>,

release a key combination. Read more
ยง

fn allow_events<A>( &self, mode: Allow, time: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

release queued events. Read more
ยง

fn grab_server(&self) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn ungrab_server(&self) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn query_pointer( &self, window: u32, ) -> Result<Cookie<'_, Self, QueryPointerReply>, ConnectionError>

get pointer coordinates. Read more
ยง

fn get_motion_events<A, B>( &self, window: u32, start: A, stop: B, ) -> Result<Cookie<'_, Self, GetMotionEventsReply>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

ยง

fn translate_coordinates( &self, src_window: u32, dst_window: u32, src_x: i16, src_y: i16, ) -> Result<Cookie<'_, Self, TranslateCoordinatesReply>, ConnectionError>

ยง

fn warp_pointer<A, B>( &self, src_window: A, dst_window: B, src_x: i16, src_y: i16, src_width: u16, src_height: u16, dst_x: i16, dst_y: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

move mouse pointer. Read more
ยง

fn set_input_focus<A, B>( &self, revert_to: InputFocus, focus: A, time: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

Sets input focus. Read more
ยง

fn get_input_focus( &self, ) -> Result<Cookie<'_, Self, GetInputFocusReply>, ConnectionError>

ยง

fn query_keymap( &self, ) -> Result<Cookie<'_, Self, QueryKeymapReply>, ConnectionError>

ยง

fn open_font<'c, 'input>( &'c self, fid: u32, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

opens a font. Read more
ยง

fn close_font(&self, font: u32) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn query_font( &self, font: u32, ) -> Result<Cookie<'_, Self, QueryFontReply>, ConnectionError>

query font metrics. Read more
ยง

fn query_text_extents<'c, 'input>( &'c self, font: u32, string: &'input [Char2b], ) -> Result<Cookie<'c, Self, QueryTextExtentsReply>, ConnectionError>

get text extents. Read more
ยง

fn list_fonts<'c, 'input>( &'c self, max_names: u16, pattern: &'input [u8], ) -> Result<Cookie<'c, Self, ListFontsReply>, ConnectionError>

get matching font names. Read more
ยง

fn list_fonts_with_info<'c, 'input>( &'c self, max_names: u16, pattern: &'input [u8], ) -> Result<ListFontsWithInfoCookie<'c, Self>, ConnectionError>

get matching font names and information. Read more
ยง

fn set_font_path<'c, 'input>( &'c self, font: &'input [Str], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn get_font_path( &self, ) -> Result<Cookie<'_, Self, GetFontPathReply>, ConnectionError>

ยง

fn create_pixmap( &self, depth: u8, pid: u32, drawable: u32, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Creates a pixmap. Read more
ยง

fn free_pixmap( &self, pixmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Destroys a pixmap. Read more
ยง

fn create_gc<'c, 'input>( &'c self, cid: u32, drawable: u32, value_list: &'input CreateGCAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Creates a graphics context. Read more
ยง

fn change_gc<'c, 'input>( &'c self, gc: u32, value_list: &'input ChangeGCAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

change graphics context components. Read more
ยง

fn copy_gc( &self, src_gc: u32, dst_gc: u32, value_mask: GC, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn set_dashes<'c, 'input>( &'c self, gc: u32, dash_offset: u16, dashes: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn set_clip_rectangles<'c, 'input>( &'c self, ordering: ClipOrdering, gc: u32, clip_x_origin: i16, clip_y_origin: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn free_gc(&self, gc: u32) -> Result<VoidCookie<'_, Self>, ConnectionError>

Destroys a graphics context. Read more
ยง

fn clear_area( &self, exposures: bool, window: u32, x: i16, y: i16, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn copy_area( &self, src_drawable: u32, dst_drawable: u32, gc: u32, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

copy areas. Read more
ยง

fn copy_plane( &self, src_drawable: u32, dst_drawable: u32, gc: u32, src_x: i16, src_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, bit_plane: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn poly_point<'c, 'input>( &'c self, coordinate_mode: CoordMode, drawable: u32, gc: u32, points: &'input [Point], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn poly_line<'c, 'input>( &'c self, coordinate_mode: CoordMode, drawable: u32, gc: u32, points: &'input [Point], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

draw lines. Read more
ยง

fn poly_segment<'c, 'input>( &'c self, drawable: u32, gc: u32, segments: &'input [Segment], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

draw lines. Read more
ยง

fn poly_rectangle<'c, 'input>( &'c self, drawable: u32, gc: u32, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn poly_arc<'c, 'input>( &'c self, drawable: u32, gc: u32, arcs: &'input [Arc], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn fill_poly<'c, 'input>( &'c self, drawable: u32, gc: u32, shape: PolyShape, coordinate_mode: CoordMode, points: &'input [Point], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn poly_fill_rectangle<'c, 'input>( &'c self, drawable: u32, gc: u32, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Fills rectangles. Read more
ยง

fn poly_fill_arc<'c, 'input>( &'c self, drawable: u32, gc: u32, arcs: &'input [Arc], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn put_image<'c, 'input>( &'c self, format: ImageFormat, drawable: u32, gc: u32, width: u16, height: u16, dst_x: i16, dst_y: i16, left_pad: u8, depth: u8, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn get_image( &self, format: ImageFormat, drawable: u32, x: i16, y: i16, width: u16, height: u16, plane_mask: u32, ) -> Result<Cookie<'_, Self, GetImageReply>, ConnectionError>

ยง

fn poly_text8<'c, 'input>( &'c self, drawable: u32, gc: u32, x: i16, y: i16, items: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn poly_text16<'c, 'input>( &'c self, drawable: u32, gc: u32, x: i16, y: i16, items: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn image_text8<'c, 'input>( &'c self, drawable: u32, gc: u32, x: i16, y: i16, string: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Draws text. Read more
ยง

fn image_text16<'c, 'input>( &'c self, drawable: u32, gc: u32, x: i16, y: i16, string: &'input [Char2b], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Draws text. Read more
ยง

fn create_colormap( &self, alloc: ColormapAlloc, mid: u32, window: u32, visual: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn free_colormap( &self, cmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn copy_colormap_and_free( &self, mid: u32, src_cmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn install_colormap( &self, cmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn uninstall_colormap( &self, cmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn list_installed_colormaps( &self, window: u32, ) -> Result<Cookie<'_, Self, ListInstalledColormapsReply>, ConnectionError>

ยง

fn alloc_color( &self, cmap: u32, red: u16, green: u16, blue: u16, ) -> Result<Cookie<'_, Self, AllocColorReply>, ConnectionError>

Allocate a color. Read more
ยง

fn alloc_named_color<'c, 'input>( &'c self, cmap: u32, name: &'input [u8], ) -> Result<Cookie<'c, Self, AllocNamedColorReply>, ConnectionError>

ยง

fn alloc_color_cells( &self, contiguous: bool, cmap: u32, colors: u16, planes: u16, ) -> Result<Cookie<'_, Self, AllocColorCellsReply>, ConnectionError>

ยง

fn alloc_color_planes( &self, contiguous: bool, cmap: u32, colors: u16, reds: u16, greens: u16, blues: u16, ) -> Result<Cookie<'_, Self, AllocColorPlanesReply>, ConnectionError>

ยง

fn free_colors<'c, 'input>( &'c self, cmap: u32, plane_mask: u32, pixels: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn store_colors<'c, 'input>( &'c self, cmap: u32, items: &'input [Coloritem], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn store_named_color<'c, 'input>( &'c self, flags: ColorFlag, cmap: u32, pixel: u32, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn query_colors<'c, 'input>( &'c self, cmap: u32, pixels: &'input [u32], ) -> Result<Cookie<'c, Self, QueryColorsReply>, ConnectionError>

ยง

fn lookup_color<'c, 'input>( &'c self, cmap: u32, name: &'input [u8], ) -> Result<Cookie<'c, Self, LookupColorReply>, ConnectionError>

ยง

fn create_cursor<A>( &self, cid: u32, source: u32, mask: A, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, x: u16, y: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn create_glyph_cursor<A>( &self, cid: u32, source_font: u32, mask_font: A, source_char: u16, mask_char: u16, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

create cursor. Read more
ยง

fn free_cursor( &self, cursor: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Deletes a cursor. Read more
ยง

fn recolor_cursor( &self, cursor: u32, fore_red: u16, fore_green: u16, fore_blue: u16, back_red: u16, back_green: u16, back_blue: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn query_best_size( &self, class: QueryShapeOf, drawable: u32, width: u16, height: u16, ) -> Result<Cookie<'_, Self, QueryBestSizeReply>, ConnectionError>

ยง

fn query_extension<'c, 'input>( &'c self, name: &'input [u8], ) -> Result<Cookie<'c, Self, QueryExtensionReply>, ConnectionError>

check if extension is present. Read more
ยง

fn list_extensions( &self, ) -> Result<Cookie<'_, Self, ListExtensionsReply>, ConnectionError>

ยง

fn change_keyboard_mapping<'c, 'input>( &'c self, keycode_count: u8, first_keycode: u8, keysyms_per_keycode: u8, keysyms: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn get_keyboard_mapping( &self, first_keycode: u8, count: u8, ) -> Result<Cookie<'_, Self, GetKeyboardMappingReply>, ConnectionError>

ยง

fn change_keyboard_control<'c, 'input>( &'c self, value_list: &'input ChangeKeyboardControlAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn get_keyboard_control( &self, ) -> Result<Cookie<'_, Self, GetKeyboardControlReply>, ConnectionError>

ยง

fn bell(&self, percent: i8) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn change_pointer_control( &self, acceleration_numerator: i16, acceleration_denominator: i16, threshold: i16, do_acceleration: bool, do_threshold: bool, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn get_pointer_control( &self, ) -> Result<Cookie<'_, Self, GetPointerControlReply>, ConnectionError>

ยง

fn set_screen_saver( &self, timeout: i16, interval: i16, prefer_blanking: Blanking, allow_exposures: Exposures, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn get_screen_saver( &self, ) -> Result<Cookie<'_, Self, GetScreenSaverReply>, ConnectionError>

ยง

fn change_hosts<'c, 'input>( &'c self, mode: HostMode, family: Family, address: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn list_hosts( &self, ) -> Result<Cookie<'_, Self, ListHostsReply>, ConnectionError>

ยง

fn set_access_control( &self, mode: AccessControl, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn set_close_down_mode( &self, mode: CloseDown, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn kill_client<A>( &self, resource: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

kills a client. Read more
ยง

fn rotate_properties<'c, 'input>( &'c self, window: u32, delta: i16, atoms: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn force_screen_saver( &self, mode: ScreenSaver, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn set_pointer_mapping<'c, 'input>( &'c self, map: &'input [u8], ) -> Result<Cookie<'c, Self, SetPointerMappingReply>, ConnectionError>

ยง

fn get_pointer_mapping( &self, ) -> Result<Cookie<'_, Self, GetPointerMappingReply>, ConnectionError>

ยง

fn set_modifier_mapping<'c, 'input>( &'c self, keycodes: &'input [u8], ) -> Result<Cookie<'c, Self, SetModifierMappingReply>, ConnectionError>

ยง

fn get_modifier_mapping( &self, ) -> Result<Cookie<'_, Self, GetModifierMappingReply>, ConnectionError>

ยง

fn no_operation(&self) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn xkb_use_extension( &self, wanted_major: u16, wanted_minor: u16, ) -> Result<Cookie<'_, Self, UseExtensionReply>, ConnectionError>

ยง

fn xkb_select_events<'c, 'input>( &'c self, device_spec: u16, clear: EventType, select_all: EventType, affect_map: MapPart, map: MapPart, details: &'input SelectEventsAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xkb_bell( &self, device_spec: u16, bell_class: u16, bell_id: u16, percent: i8, force_sound: bool, event_only: bool, pitch: i16, duration: i16, name: u32, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xkb_get_state( &self, device_spec: u16, ) -> Result<Cookie<'_, Self, GetStateReply>, ConnectionError>

ยง

fn xkb_latch_lock_state( &self, device_spec: u16, affect_mod_locks: ModMask, mod_locks: ModMask, lock_group: bool, group_lock: Group, affect_mod_latches: ModMask, latch_group: bool, group_latch: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xkb_get_controls( &self, device_spec: u16, ) -> Result<Cookie<'_, Self, GetControlsReply>, ConnectionError>

ยง

fn xkb_set_controls<'c, 'input>( &'c self, device_spec: u16, affect_internal_real_mods: ModMask, internal_real_mods: ModMask, affect_ignore_lock_real_mods: ModMask, ignore_lock_real_mods: ModMask, affect_internal_virtual_mods: VMod, internal_virtual_mods: VMod, affect_ignore_lock_virtual_mods: VMod, ignore_lock_virtual_mods: VMod, mouse_keys_dflt_btn: u8, groups_wrap: u8, access_x_options: AXOption, affect_enabled_controls: BoolCtrl, enabled_controls: BoolCtrl, change_controls: Control, repeat_delay: u16, repeat_interval: u16, slow_keys_delay: u16, debounce_delay: u16, mouse_keys_delay: u16, mouse_keys_interval: u16, mouse_keys_time_to_max: u16, mouse_keys_max_speed: u16, mouse_keys_curve: i16, access_x_timeout: u16, access_x_timeout_mask: BoolCtrl, access_x_timeout_values: BoolCtrl, access_x_timeout_options_mask: AXOption, access_x_timeout_options_values: AXOption, per_key_repeat: &'input [u8; 32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xkb_get_map( &self, device_spec: u16, full: MapPart, partial: MapPart, first_type: u8, n_types: u8, first_key_sym: u8, n_key_syms: u8, first_key_action: u8, n_key_actions: u8, first_key_behavior: u8, n_key_behaviors: u8, virtual_mods: VMod, first_key_explicit: u8, n_key_explicit: u8, first_mod_map_key: u8, n_mod_map_keys: u8, first_v_mod_map_key: u8, n_v_mod_map_keys: u8, ) -> Result<Cookie<'_, Self, GetMapReply>, ConnectionError>

ยง

fn xkb_set_map<'c, 'input>( &'c self, device_spec: u16, flags: SetMapFlags, min_key_code: u8, max_key_code: u8, first_type: u8, n_types: u8, first_key_sym: u8, n_key_syms: u8, total_syms: u16, first_key_action: u8, n_key_actions: u8, total_actions: u16, first_key_behavior: u8, n_key_behaviors: u8, total_key_behaviors: u8, first_key_explicit: u8, n_key_explicit: u8, total_key_explicit: u8, first_mod_map_key: u8, n_mod_map_keys: u8, total_mod_map_keys: u8, first_v_mod_map_key: u8, n_v_mod_map_keys: u8, total_v_mod_map_keys: u8, virtual_mods: VMod, values: &'input SetMapAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xkb_get_compat_map( &self, device_spec: u16, groups: SetOfGroup, get_all_si: bool, first_si: u16, n_si: u16, ) -> Result<Cookie<'_, Self, GetCompatMapReply>, ConnectionError>

ยง

fn xkb_set_compat_map<'c, 'input>( &'c self, device_spec: u16, recompute_actions: bool, truncate_si: bool, groups: SetOfGroup, first_si: u16, si: &'input [SymInterpret], group_maps: &'input [ModDef], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xkb_get_indicator_state( &self, device_spec: u16, ) -> Result<Cookie<'_, Self, GetIndicatorStateReply>, ConnectionError>

ยง

fn xkb_get_indicator_map( &self, device_spec: u16, which: u32, ) -> Result<Cookie<'_, Self, GetIndicatorMapReply>, ConnectionError>

ยง

fn xkb_set_indicator_map<'c, 'input>( &'c self, device_spec: u16, which: u32, maps: &'input [IndicatorMap], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xkb_get_named_indicator<A>( &self, device_spec: u16, led_class: LedClass, led_id: A, indicator: u32, ) -> Result<Cookie<'_, Self, GetNamedIndicatorReply>, ConnectionError>
where A: Into<u16>,

ยง

fn xkb_set_named_indicator<A>( &self, device_spec: u16, led_class: LedClass, led_id: A, indicator: u32, set_state: bool, on: bool, set_map: bool, create_map: bool, map_flags: IMFlag, map_which_groups: IMGroupsWhich, map_groups: SetOfGroups, map_which_mods: IMModsWhich, map_real_mods: ModMask, map_vmods: VMod, map_ctrls: BoolCtrl, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u16>,

ยง

fn xkb_get_names( &self, device_spec: u16, which: NameDetail, ) -> Result<Cookie<'_, Self, GetNamesReply>, ConnectionError>

ยง

fn xkb_set_names<'c, 'input>( &'c self, device_spec: u16, virtual_mods: VMod, first_type: u8, n_types: u8, first_kt_levelt: u8, n_kt_levels: u8, indicators: u32, group_names: SetOfGroup, n_radio_groups: u8, first_key: u8, n_keys: u8, n_key_aliases: u8, total_kt_level_names: u16, values: &'input SetNamesAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xkb_per_client_flags( &self, device_spec: u16, change: PerClientFlag, value: PerClientFlag, ctrls_to_change: BoolCtrl, auto_ctrls: BoolCtrl, auto_ctrls_values: BoolCtrl, ) -> Result<Cookie<'_, Self, PerClientFlagsReply>, ConnectionError>

ยง

fn xkb_list_components( &self, device_spec: u16, max_names: u16, ) -> Result<Cookie<'_, Self, ListComponentsReply>, ConnectionError>

ยง

fn xkb_get_kbd_by_name( &self, device_spec: u16, need: GBNDetail, want: GBNDetail, load: bool, ) -> Result<Cookie<'_, Self, GetKbdByNameReply>, ConnectionError>

ยง

fn xkb_get_device_info<A>( &self, device_spec: u16, wanted: XIFeature, all_buttons: bool, first_button: u8, n_buttons: u8, led_class: LedClass, led_id: A, ) -> Result<Cookie<'_, Self, GetDeviceInfoReply>, ConnectionError>
where A: Into<u16>,

ยง

fn xkb_set_device_info<'c, 'input>( &'c self, device_spec: u16, first_btn: u8, change: XIFeature, btn_actions: &'input [Action], leds: &'input [DeviceLedInfo], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xkb_set_debugging_flags<'c, 'input>( &'c self, affect_flags: u32, flags: u32, affect_ctrls: u32, ctrls: u32, message: &'input [u8], ) -> Result<Cookie<'c, Self, SetDebuggingFlagsReply>, ConnectionError>

ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn bigreq_enable( &self, ) -> Result<Cookie<'_, Self, EnableReply>, ConnectionError>

Enable the BIG-REQUESTS extension. Read more
ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn ge_query_version( &self, client_major_version: u16, client_minor_version: u16, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn randr_query_version( &self, major_version: u32, minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

ยง

fn randr_set_screen_config( &self, window: u32, timestamp: u32, config_timestamp: u32, size_id: u16, rotation: Rotation, rate: u16, ) -> Result<Cookie<'_, Self, SetScreenConfigReply>, ConnectionError>

ยง

fn randr_select_input( &self, window: u32, enable: NotifyMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_get_screen_info( &self, window: u32, ) -> Result<Cookie<'_, Self, GetScreenInfoReply>, ConnectionError>

ยง

fn randr_get_screen_size_range( &self, window: u32, ) -> Result<Cookie<'_, Self, GetScreenSizeRangeReply>, ConnectionError>

ยง

fn randr_set_screen_size( &self, window: u32, width: u16, height: u16, mm_width: u32, mm_height: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_get_screen_resources( &self, window: u32, ) -> Result<Cookie<'_, Self, GetScreenResourcesReply>, ConnectionError>

ยง

fn randr_get_output_info( &self, output: u32, config_timestamp: u32, ) -> Result<Cookie<'_, Self, GetOutputInfoReply>, ConnectionError>

ยง

fn randr_list_output_properties( &self, output: u32, ) -> Result<Cookie<'_, Self, ListOutputPropertiesReply>, ConnectionError>

ยง

fn randr_query_output_property( &self, output: u32, property: u32, ) -> Result<Cookie<'_, Self, QueryOutputPropertyReply>, ConnectionError>

ยง

fn randr_configure_output_property<'c, 'input>( &'c self, output: u32, property: u32, pending: bool, range: bool, values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn randr_change_output_property<'c, 'input>( &'c self, output: u32, property: u32, type_: u32, format: u8, mode: PropMode, num_units: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn randr_delete_output_property( &self, output: u32, property: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_get_output_property<A>( &self, output: u32, property: u32, type_: A, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Result<Cookie<'_, Self, GetOutputPropertyReply>, ConnectionError>
where A: Into<u32>,

ยง

fn randr_create_mode<'c, 'input>( &'c self, window: u32, mode_info: ModeInfo, name: &'input [u8], ) -> Result<Cookie<'c, Self, CreateModeReply>, ConnectionError>

ยง

fn randr_destroy_mode( &self, mode: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_add_output_mode( &self, output: u32, mode: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_delete_output_mode( &self, output: u32, mode: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_get_crtc_info( &self, crtc: u32, config_timestamp: u32, ) -> Result<Cookie<'_, Self, GetCrtcInfoReply>, ConnectionError>

ยง

fn randr_set_crtc_config<'c, 'input>( &'c self, crtc: u32, timestamp: u32, config_timestamp: u32, x: i16, y: i16, mode: u32, rotation: Rotation, outputs: &'input [u32], ) -> Result<Cookie<'c, Self, SetCrtcConfigReply>, ConnectionError>

ยง

fn randr_get_crtc_gamma_size( &self, crtc: u32, ) -> Result<Cookie<'_, Self, GetCrtcGammaSizeReply>, ConnectionError>

ยง

fn randr_get_crtc_gamma( &self, crtc: u32, ) -> Result<Cookie<'_, Self, GetCrtcGammaReply>, ConnectionError>

ยง

fn randr_set_crtc_gamma<'c, 'input>( &'c self, crtc: u32, red: &'input [u16], green: &'input [u16], blue: &'input [u16], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn randr_get_screen_resources_current( &self, window: u32, ) -> Result<Cookie<'_, Self, GetScreenResourcesCurrentReply>, ConnectionError>

ยง

fn randr_set_crtc_transform<'c, 'input>( &'c self, crtc: u32, transform: Transform, filter_name: &'input [u8], filter_params: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn randr_get_crtc_transform( &self, crtc: u32, ) -> Result<Cookie<'_, Self, GetCrtcTransformReply>, ConnectionError>

ยง

fn randr_get_panning( &self, crtc: u32, ) -> Result<Cookie<'_, Self, GetPanningReply>, ConnectionError>

ยง

fn randr_set_panning( &self, crtc: u32, timestamp: u32, left: u16, top: u16, width: u16, height: u16, track_left: u16, track_top: u16, track_width: u16, track_height: u16, border_left: i16, border_top: i16, border_right: i16, border_bottom: i16, ) -> Result<Cookie<'_, Self, SetPanningReply>, ConnectionError>

ยง

fn randr_set_output_primary( &self, window: u32, output: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_get_output_primary( &self, window: u32, ) -> Result<Cookie<'_, Self, GetOutputPrimaryReply>, ConnectionError>

ยง

fn randr_get_providers( &self, window: u32, ) -> Result<Cookie<'_, Self, GetProvidersReply>, ConnectionError>

ยง

fn randr_get_provider_info( &self, provider: u32, config_timestamp: u32, ) -> Result<Cookie<'_, Self, GetProviderInfoReply>, ConnectionError>

ยง

fn randr_set_provider_offload_sink( &self, provider: u32, sink_provider: u32, config_timestamp: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_set_provider_output_source( &self, provider: u32, source_provider: u32, config_timestamp: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_list_provider_properties( &self, provider: u32, ) -> Result<Cookie<'_, Self, ListProviderPropertiesReply>, ConnectionError>

ยง

fn randr_query_provider_property( &self, provider: u32, property: u32, ) -> Result<Cookie<'_, Self, QueryProviderPropertyReply>, ConnectionError>

ยง

fn randr_configure_provider_property<'c, 'input>( &'c self, provider: u32, property: u32, pending: bool, range: bool, values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn randr_change_provider_property<'c, 'input>( &'c self, provider: u32, property: u32, type_: u32, format: u8, mode: u8, num_items: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn randr_delete_provider_property( &self, provider: u32, property: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_get_provider_property( &self, provider: u32, property: u32, type_: u32, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Result<Cookie<'_, Self, GetProviderPropertyReply>, ConnectionError>

ยง

fn randr_get_monitors( &self, window: u32, get_active: bool, ) -> Result<Cookie<'_, Self, GetMonitorsReply>, ConnectionError>

ยง

fn randr_set_monitor( &self, window: u32, monitorinfo: MonitorInfo, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_delete_monitor( &self, window: u32, name: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn randr_create_lease<'c, 'input>( &'c self, window: u32, lid: u32, crtcs: &'input [u32], outputs: &'input [u32], ) -> Result<CookieWithFds<'c, Self, CreateLeaseReply>, ConnectionError>

ยง

fn randr_free_lease( &self, lid: u32, terminate: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn render_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

ยง

fn render_query_pict_formats( &self, ) -> Result<Cookie<'_, Self, QueryPictFormatsReply>, ConnectionError>

ยง

fn render_query_pict_index_values( &self, format: u32, ) -> Result<Cookie<'_, Self, QueryPictIndexValuesReply>, ConnectionError>

ยง

fn render_create_picture<'c, 'input>( &'c self, pid: u32, drawable: u32, format: u32, value_list: &'input CreatePictureAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_change_picture<'c, 'input>( &'c self, picture: u32, value_list: &'input ChangePictureAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_set_picture_clip_rectangles<'c, 'input>( &'c self, picture: u32, clip_x_origin: i16, clip_y_origin: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_free_picture( &self, picture: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn render_composite<A>( &self, op: PictOp, src: u32, mask: A, dst: u32, src_x: i16, src_y: i16, mask_x: i16, mask_y: i16, dst_x: i16, dst_y: i16, width: u16, height: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn render_trapezoids<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, src_x: i16, src_y: i16, traps: &'input [Trapezoid], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_triangles<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, src_x: i16, src_y: i16, triangles: &'input [Triangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_tri_strip<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, src_x: i16, src_y: i16, points: &'input [Pointfix], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_tri_fan<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, src_x: i16, src_y: i16, points: &'input [Pointfix], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_create_glyph_set( &self, gsid: u32, format: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn render_reference_glyph_set( &self, gsid: u32, existing: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn render_free_glyph_set( &self, glyphset: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn render_add_glyphs<'c, 'input>( &'c self, glyphset: u32, glyphids: &'input [u32], glyphs: &'input [Glyphinfo], data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_free_glyphs<'c, 'input>( &'c self, glyphset: u32, glyphs: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_composite_glyphs8<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, glyphset: u32, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_composite_glyphs16<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, glyphset: u32, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_composite_glyphs32<'c, 'input>( &'c self, op: PictOp, src: u32, dst: u32, mask_format: u32, glyphset: u32, src_x: i16, src_y: i16, glyphcmds: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_fill_rectangles<'c, 'input>( &'c self, op: PictOp, dst: u32, color: Color, rects: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_create_cursor( &self, cid: u32, source: u32, x: u16, y: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn render_set_picture_transform( &self, picture: u32, transform: Transform, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn render_query_filters( &self, drawable: u32, ) -> Result<Cookie<'_, Self, QueryFiltersReply>, ConnectionError>

ยง

fn render_set_picture_filter<'c, 'input>( &'c self, picture: u32, filter: &'input [u8], values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_create_anim_cursor<'c, 'input>( &'c self, cid: u32, cursors: &'input [Animcursorelt], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_add_traps<'c, 'input>( &'c self, picture: u32, x_off: i16, y_off: i16, traps: &'input [Trap], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_create_solid_fill( &self, picture: u32, color: Color, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn render_create_linear_gradient<'c, 'input>( &'c self, picture: u32, p1: Pointfix, p2: Pointfix, stops: &'input [i32], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_create_radial_gradient<'c, 'input>( &'c self, picture: u32, inner: Pointfix, outer: Pointfix, inner_radius: i32, outer_radius: i32, stops: &'input [i32], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn render_create_conical_gradient<'c, 'input>( &'c self, picture: u32, center: Pointfix, angle: i32, stops: &'input [i32], colors: &'input [Color], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn shape_query_version( &self, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

ยง

fn shape_rectangles<'c, 'input>( &'c self, operation: SO, destination_kind: SK, ordering: ClipOrdering, destination_window: u32, x_offset: i16, y_offset: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn shape_mask<A>( &self, operation: SO, destination_kind: SK, destination_window: u32, x_offset: i16, y_offset: i16, source_bitmap: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn shape_combine( &self, operation: SO, destination_kind: SK, source_kind: SK, destination_window: u32, x_offset: i16, y_offset: i16, source_window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn shape_offset( &self, destination_kind: SK, destination_window: u32, x_offset: i16, y_offset: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn shape_query_extents( &self, destination_window: u32, ) -> Result<Cookie<'_, Self, QueryExtentsReply>, ConnectionError>

ยง

fn shape_select_input( &self, destination_window: u32, enable: bool, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn shape_input_selected( &self, destination_window: u32, ) -> Result<Cookie<'_, Self, InputSelectedReply>, ConnectionError>

ยง

fn shape_get_rectangles( &self, window: u32, source_kind: SK, ) -> Result<Cookie<'_, Self, GetRectanglesReply>, ConnectionError>

ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn xc_misc_get_version( &self, client_major_version: u16, client_minor_version: u16, ) -> Result<Cookie<'_, Self, GetVersionReply>, ConnectionError>

ยง

fn xc_misc_get_xid_range( &self, ) -> Result<Cookie<'_, Self, GetXIDRangeReply>, ConnectionError>

ยง

fn xc_misc_get_xid_list( &self, count: u32, ) -> Result<Cookie<'_, Self, GetXIDListReply>, ConnectionError>

ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn xfixes_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

ยง

fn xfixes_change_save_set( &self, mode: SaveSetMode, target: SaveSetTarget, map: SaveSetMapping, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_select_selection_input( &self, window: u32, selection: u32, event_mask: SelectionEventMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_select_cursor_input( &self, window: u32, event_mask: CursorNotifyMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_get_cursor_image( &self, ) -> Result<Cookie<'_, Self, GetCursorImageReply>, ConnectionError>

ยง

fn xfixes_create_region<'c, 'input>( &'c self, region: u32, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xfixes_create_region_from_bitmap( &self, region: u32, bitmap: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_create_region_from_window( &self, region: u32, window: u32, kind: SK, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_create_region_from_gc( &self, region: u32, gc: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_create_region_from_picture( &self, region: u32, picture: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_destroy_region( &self, region: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_set_region<'c, 'input>( &'c self, region: u32, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xfixes_copy_region( &self, source: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_union_region( &self, source1: u32, source2: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_intersect_region( &self, source1: u32, source2: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_subtract_region( &self, source1: u32, source2: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_invert_region( &self, source: u32, bounds: Rectangle, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_translate_region( &self, region: u32, dx: i16, dy: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_region_extents( &self, source: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_fetch_region( &self, region: u32, ) -> Result<Cookie<'_, Self, FetchRegionReply>, ConnectionError>

ยง

fn xfixes_set_gc_clip_region<A>( &self, gc: u32, region: A, x_origin: i16, y_origin: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn xfixes_set_window_shape_region<A>( &self, dest: u32, dest_kind: SK, x_offset: i16, y_offset: i16, region: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn xfixes_set_picture_clip_region<A>( &self, picture: u32, region: A, x_origin: i16, y_origin: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn xfixes_set_cursor_name<'c, 'input>( &'c self, cursor: u32, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xfixes_get_cursor_name( &self, cursor: u32, ) -> Result<Cookie<'_, Self, GetCursorNameReply>, ConnectionError>

ยง

fn xfixes_get_cursor_image_and_name( &self, ) -> Result<Cookie<'_, Self, GetCursorImageAndNameReply>, ConnectionError>

ยง

fn xfixes_change_cursor( &self, source: u32, destination: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_change_cursor_by_name<'c, 'input>( &'c self, src: u32, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xfixes_expand_region( &self, source: u32, destination: u32, left: u16, right: u16, top: u16, bottom: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_hide_cursor( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_show_cursor( &self, window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_create_pointer_barrier<'c, 'input>( &'c self, barrier: u32, window: u32, x1: u16, y1: u16, x2: u16, y2: u16, directions: BarrierDirections, devices: &'input [u16], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xfixes_delete_pointer_barrier( &self, barrier: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xfixes_set_client_disconnect_mode( &self, disconnect_mode: ClientDisconnectFlags, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Sets the disconnect mode for the client.. Read more
ยง

fn xfixes_get_client_disconnect_mode( &self, ) -> Result<Cookie<'_, Self, GetClientDisconnectModeReply>, ConnectionError>

ยง

impl<C> ConnectionExt for C
where C: RequestConnection + ?Sized,

ยง

fn xinput_get_extension_version<'c, 'input>( &'c self, name: &'input [u8], ) -> Result<Cookie<'c, Self, GetExtensionVersionReply>, ConnectionError>

ยง

fn xinput_list_input_devices( &self, ) -> Result<Cookie<'_, Self, ListInputDevicesReply>, ConnectionError>

ยง

fn xinput_open_device( &self, device_id: u8, ) -> Result<Cookie<'_, Self, OpenDeviceReply>, ConnectionError>

ยง

fn xinput_close_device( &self, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xinput_set_device_mode( &self, device_id: u8, mode: ValuatorMode, ) -> Result<Cookie<'_, Self, SetDeviceModeReply>, ConnectionError>

ยง

fn xinput_select_extension_event<'c, 'input>( &'c self, window: u32, classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xinput_get_selected_extension_events( &self, window: u32, ) -> Result<Cookie<'_, Self, GetSelectedExtensionEventsReply>, ConnectionError>

ยง

fn xinput_change_device_dont_propagate_list<'c, 'input>( &'c self, window: u32, mode: PropagateMode, classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xinput_get_device_dont_propagate_list( &self, window: u32, ) -> Result<Cookie<'_, Self, GetDeviceDontPropagateListReply>, ConnectionError>

ยง

fn xinput_get_device_motion_events<A>( &self, start: u32, stop: A, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceMotionEventsReply>, ConnectionError>
where A: Into<u32>,

ยง

fn xinput_change_keyboard_device( &self, device_id: u8, ) -> Result<Cookie<'_, Self, ChangeKeyboardDeviceReply>, ConnectionError>

ยง

fn xinput_change_pointer_device( &self, x_axis: u8, y_axis: u8, device_id: u8, ) -> Result<Cookie<'_, Self, ChangePointerDeviceReply>, ConnectionError>

ยง

fn xinput_grab_device<'c, 'input, A>( &'c self, grab_window: u32, time: A, this_device_mode: GrabMode, other_device_mode: GrabMode, owner_events: bool, device_id: u8, classes: &'input [u32], ) -> Result<Cookie<'c, Self, GrabDeviceReply>, ConnectionError>
where A: Into<u32>,

ยง

fn xinput_ungrab_device<A>( &self, time: A, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn xinput_grab_device_key<'c, 'input, A, B>( &'c self, grab_window: u32, modifiers: ModMask, modifier_device: A, grabbed_device: u8, key: B, this_device_mode: GrabMode, other_device_mode: GrabMode, owner_events: bool, classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
where A: Into<u8>, B: Into<u8>,

ยง

fn xinput_ungrab_device_key<A, B>( &self, grab_window: u32, modifiers: ModMask, modifier_device: A, key: B, grabbed_device: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u8>, B: Into<u8>,

ยง

fn xinput_grab_device_button<'c, 'input, A, B>( &'c self, grab_window: u32, grabbed_device: u8, modifier_device: A, modifiers: ModMask, this_device_mode: GrabMode, other_device_mode: GrabMode, button: B, owner_events: bool, classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
where A: Into<u8>, B: Into<u8>,

ยง

fn xinput_ungrab_device_button<A, B>( &self, grab_window: u32, modifiers: ModMask, modifier_device: A, button: B, grabbed_device: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u8>, B: Into<u8>,

ยง

fn xinput_allow_device_events<A>( &self, time: A, mode: DeviceInputMode, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>,

ยง

fn xinput_get_device_focus( &self, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceFocusReply>, ConnectionError>

ยง

fn xinput_set_device_focus<A, B>( &self, focus: A, time: B, revert_to: InputFocus, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u32>,

ยง

fn xinput_get_feedback_control( &self, device_id: u8, ) -> Result<Cookie<'_, Self, GetFeedbackControlReply>, ConnectionError>

ยง

fn xinput_change_feedback_control( &self, mask: ChangeFeedbackControlMask, device_id: u8, feedback_id: u8, feedback: FeedbackCtl, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xinput_get_device_key_mapping( &self, device_id: u8, first_keycode: u8, count: u8, ) -> Result<Cookie<'_, Self, GetDeviceKeyMappingReply>, ConnectionError>

ยง

fn xinput_change_device_key_mapping<'c, 'input>( &'c self, device_id: u8, first_keycode: u8, keysyms_per_keycode: u8, keycode_count: u8, keysyms: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xinput_get_device_modifier_mapping( &self, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceModifierMappingReply>, ConnectionError>

ยง

fn xinput_set_device_modifier_mapping<'c, 'input>( &'c self, device_id: u8, keymaps: &'input [u8], ) -> Result<Cookie<'c, Self, SetDeviceModifierMappingReply>, ConnectionError>

ยง

fn xinput_get_device_button_mapping( &self, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceButtonMappingReply>, ConnectionError>

ยง

fn xinput_set_device_button_mapping<'c, 'input>( &'c self, device_id: u8, map: &'input [u8], ) -> Result<Cookie<'c, Self, SetDeviceButtonMappingReply>, ConnectionError>

ยง

fn xinput_query_device_state( &self, device_id: u8, ) -> Result<Cookie<'_, Self, QueryDeviceStateReply>, ConnectionError>

ยง

fn xinput_device_bell( &self, device_id: u8, feedback_id: u8, feedback_class: u8, percent: i8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xinput_set_device_valuators<'c, 'input>( &'c self, device_id: u8, first_valuator: u8, valuators: &'input [i32], ) -> Result<Cookie<'c, Self, SetDeviceValuatorsReply>, ConnectionError>

ยง

fn xinput_get_device_control( &self, control_id: DeviceControl, device_id: u8, ) -> Result<Cookie<'_, Self, GetDeviceControlReply>, ConnectionError>

ยง

fn xinput_change_device_control( &self, control_id: DeviceControl, device_id: u8, control: DeviceCtl, ) -> Result<Cookie<'_, Self, ChangeDeviceControlReply>, ConnectionError>

ยง

fn xinput_list_device_properties( &self, device_id: u8, ) -> Result<Cookie<'_, Self, ListDevicePropertiesReply>, ConnectionError>

ยง

fn xinput_change_device_property<'c, 'input>( &'c self, property: u32, type_: u32, device_id: u8, mode: PropMode, num_items: u32, items: &'input ChangeDevicePropertyAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xinput_delete_device_property( &self, property: u32, device_id: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

ยง

fn xinput_get_device_property( &self, property: u32, type_: u32, offset: u32, len: u32, device_id: u8, delete: bool, ) -> Result<Cookie<'_, Self, GetDevicePropertyReply>, ConnectionError>

ยง

fn xinput_xi_query_pointer<A>( &self, window: u32, deviceid: A, ) -> Result<Cookie<'_, Self, XIQueryPointerReply>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_warp_pointer<A>( &self, src_win: u32, dst_win: u32, src_x: i32, src_y: i32, src_width: u16, src_height: u16, dst_x: i32, dst_y: i32, deviceid: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_change_cursor<A>( &self, window: u32, cursor: u32, deviceid: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_change_hierarchy<'c, 'input>( &'c self, changes: &'input [HierarchyChange], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xinput_xi_set_client_pointer<A>( &self, window: u32, deviceid: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_get_client_pointer( &self, window: u32, ) -> Result<Cookie<'_, Self, XIGetClientPointerReply>, ConnectionError>

ยง

fn xinput_xi_select_events<'c, 'input>( &'c self, window: u32, masks: &'input [EventMask], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xinput_xi_query_version( &self, major_version: u16, minor_version: u16, ) -> Result<Cookie<'_, Self, XIQueryVersionReply>, ConnectionError>

ยง

fn xinput_xi_query_device<A>( &self, deviceid: A, ) -> Result<Cookie<'_, Self, XIQueryDeviceReply>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_set_focus<A, B>( &self, window: u32, time: A, deviceid: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u16>,

ยง

fn xinput_xi_get_focus<A>( &self, deviceid: A, ) -> Result<Cookie<'_, Self, XIGetFocusReply>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_grab_device<'c, 'input, A, B>( &'c self, window: u32, time: A, cursor: u32, deviceid: B, mode: GrabMode, paired_device_mode: GrabMode, owner_events: GrabOwner, mask: &'input [u32], ) -> Result<Cookie<'c, Self, XIGrabDeviceReply>, ConnectionError>
where A: Into<u32>, B: Into<u16>,

ยง

fn xinput_xi_ungrab_device<A, B>( &self, time: A, deviceid: B, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u16>,

ยง

fn xinput_xi_allow_events<A, B>( &self, time: A, deviceid: B, event_mode: EventMode, touchid: u32, grab_window: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u32>, B: Into<u16>,

ยง

fn xinput_xi_passive_grab_device<'c, 'input, A, B>( &'c self, time: A, grab_window: u32, cursor: u32, detail: u32, deviceid: B, grab_type: GrabType, grab_mode: GrabMode22, paired_device_mode: GrabMode, owner_events: GrabOwner, mask: &'input [u32], modifiers: &'input [u32], ) -> Result<Cookie<'c, Self, XIPassiveGrabDeviceReply>, ConnectionError>
where A: Into<u32>, B: Into<u16>,

ยง

fn xinput_xi_passive_ungrab_device<'c, 'input, A>( &'c self, grab_window: u32, detail: u32, deviceid: A, grab_type: GrabType, modifiers: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_list_properties<A>( &self, deviceid: A, ) -> Result<Cookie<'_, Self, XIListPropertiesReply>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_change_property<'c, 'input, A>( &'c self, deviceid: A, mode: PropMode, property: u32, type_: u32, num_items: u32, items: &'input XIChangePropertyAux, ) -> Result<VoidCookie<'c, Self>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_delete_property<A>( &self, deviceid: A, property: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_get_property<A>( &self, deviceid: A, delete: bool, property: u32, type_: u32, offset: u32, len: u32, ) -> Result<Cookie<'_, Self, XIGetPropertyReply>, ConnectionError>
where A: Into<u16>,

ยง

fn xinput_xi_get_selected_events( &self, window: u32, ) -> Result<Cookie<'_, Self, XIGetSelectedEventsReply>, ConnectionError>

ยง

fn xinput_xi_barrier_release_pointer<'c, 'input>( &'c self, barriers: &'input [BarrierReleasePointerInfo], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

fn xinput_send_extension_event<'c, 'input>( &'c self, destination: u32, device_id: u8, propagate: bool, events: &'input [EventForSend], classes: &'input [u32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

ยง

impl<T> Downcast for T
where T: Any,

ยง

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
ยง

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
ยง

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Anyโ€™s vtable from &Traitโ€™s.
ยง

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Anyโ€™s vtable from &mut Traitโ€™s.
ยง

impl<T> DowncastSync for T
where T: Any + Send + Sync,

ยง

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
ยง

impl<'de, T> DynamicDeserialize<'de> for T
where T: Type + Deserialize<'de>,

ยง

type Deserializer = PhantomData<T>

A DeserializeSeed implementation for this type.
ยง

fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>

Get a deserializer compatible with this parsed signature.
ยง

impl<T> DynamicType for T
where T: Type + ?Sized,

ยง

fn signature(&self) -> Signature

The type signature for self. Read more
ยง

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
ยง

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
ยง

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Sourceยง

impl<T> From<T> for T

Sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

Sourceยง

impl<I> FromRouteSegments for I
where I: FromIterator<String>,

Sourceยง

type Err = <String as FromRouteSegment>::Err

The error that can occur when parsing route segments.
Sourceยง

fn from_route_segments( segments: &[&str], ) -> Result<I, <I as FromRouteSegments>::Err>

Create an instance of Self from route segments. Read more
ยง

impl<T> InitializeFromFunction<T> for T

ยง

fn initialize_from_function(f: fn() -> T) -> T

Create an instance of this type from an initialization function
ยง

impl<T> Instrument for T

ยง

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
ยง

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

Sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sourceยง

impl<T> IntoEither for T

Sourceยง

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 more
Sourceยง

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
ยง

impl<T> NoneValue for T
where T: Default,

ยง

type NoneType = T

ยง

fn null_value() -> T

The none-equivalent value.
ยง

impl<T> Pointable for T

ยง

const ALIGN: usize

The alignment of pointer.
ยง

type Init = T

The type for initializers.
ยง

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
ยง

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
ยง

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
ยง

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
ยง

impl<T> PolicyExt for T
where T: ?Sized,

ยง

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
ยง

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Sourceยง

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Sourceยง

type Target = T

๐Ÿ”ฌThis is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Sourceยง

impl<T> Spanned for T
where T: Spanned + ?Sized,

Sourceยง

fn span(&self) -> Span

Returns a Span covering the complete contents of this syntax tree node, or Span::call_site() if this node is empty.
ยง

impl<Ret> SpawnIfAsync<(), Ret> for Ret

ยง

fn spawn(self) -> Ret

Spawn the value into the dioxus runtime if it is an async block
ยง

impl<T, O> SuperFrom<T> for O
where O: From<T>,

ยง

fn super_from(input: T) -> O

Convert from a type to another type.
ยง

impl<T, O, M> SuperInto<O, M> for T
where O: SuperFrom<T, M>,

ยง

fn super_into(self) -> O

Convert from a type to another type.
Sourceยง

impl<T> ToHex for T
where T: AsRef<[u8]>,

Sourceยง

fn encode_hex<U>(&self) -> U
where U: FromIterator<char>,

Encode the hex strict representing self into the result. Lower case letters are used (e.g. f9b4ca)
Sourceยง

fn encode_hex_upper<U>(&self) -> U
where U: FromIterator<char>,

Encode the hex strict representing self into the result. Upper case letters are used (e.g. F9B4CA)
Sourceยง

impl<T> ToOwned for T
where T: Clone,

Sourceยง

type Owned = T

The resulting type after obtaining ownership.
Sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
ยง

impl<T> ToSmolStr for T
where T: Display + ?Sized,

ยง

fn to_smolstr(&self) -> SmolStr

Sourceยง

impl<T> ToString for T
where T: Display + ?Sized,

Sourceยง

fn to_string(&self) -> String

Converts the given value to a String. Read more
ยง

impl<T> ToStringFallible for T
where T: Display,

ยง

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

Sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
Sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Sourceยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
ยง

impl<T> WithSubscriber for T

ยง

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
ยง

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
ยง

impl<T> DependencyElement for T
where T: 'static + PartialEq + Clone,

Sourceยง

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

ยง

impl<T> ErasedDestructor for T
where T: 'static,