Trait nom::lib::std::convert::From1.0.0[][src]

pub trait From<T> {
    #[lang = "from"]
    pub fn from(T) -> Self;
}
[]

Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.

One should always prefer implementing From over Into because implementing From automatically provides one with an implementation of Into thanks to the blanket implementation in the standard library.

Only implement Into when targeting a version prior to Rust 1.41 and converting to a type outside the current crate. From was not able to do these types of conversions in earlier versions because of Rust’s orphaning rules. See Into for more details.

Prefer using Into over using From when specifying trait bounds on a generic function. This way, types that directly implement Into can be used as arguments as well.

The From is also very useful when performing error handling. When constructing a function that is capable of failing, the return type will generally be of the form Result<T, E>. The From trait simplifies error handling by allowing a function to return a single error type that encapsulate multiple error types. See the “Examples” section and the book for more details.

Note: This trait must not fail. If the conversion can fail, use TryFrom.

Generic Implementations

Examples

String implements From<&str>:

An explicit conversion from a &str to a String is done as follows:

let string = "hello".to_string();
let other_string = String::from("hello");

assert_eq!(string, other_string);

While performing error handling it is often useful to implement From for your own error type. By converting underlying error types to our own custom error type that encapsulates the underlying error type, we can return a single error type without losing information on the underlying cause. The ‘?’ operator automatically converts the underlying error type to our custom error type by calling Into<CliError>::into which is automatically provided when implementing From. The compiler then infers which implementation of Into should be used.

use std::fs;
use std::io;
use std::num;

enum CliError {
    IoError(io::Error),
    ParseError(num::ParseIntError),
}

impl From<io::Error> for CliError {
    fn from(error: io::Error) -> Self {
        CliError::IoError(error)
    }
}

impl From<num::ParseIntError> for CliError {
    fn from(error: num::ParseIntError) -> Self {
        CliError::ParseError(error)
    }
}

fn open_and_parse_file(file_name: &str) -> Result<i32, CliError> {
    let mut contents = fs::read_to_string(&file_name)?;
    let num: i32 = contents.trim().parse()?;
    Ok(num)
}

Required methods

#[lang = "from"]
pub fn from(T) -> Self
[src][]

Performs the conversion.

Implementations on Foreign Types

impl From<Infallible> for TryFromSliceError[src][]

impl<'_, T> From<&'_ mut T> for NonNull<T> where
    T: ?Sized
[src][]

impl From<i32> for AtomicI32[src][]

pub fn from(v: i32) -> AtomicI32[src][]

Converts an i32 into an AtomicI32.

impl From<NonZeroU32> for NonZeroU64[src][]

[]

Converts NonZeroU32 to NonZeroU64 losslessly.

impl From<NonZeroU8> for NonZeroI128[src][]

[]

Converts NonZeroU8 to NonZeroI128 losslessly.

impl<T> From<Unique<T>> for NonNull<T> where
    T: ?Sized
[src][]

impl From<i8> for AtomicI8[src][]

pub fn from(v: i8) -> AtomicI8[src][]

Converts an i8 into an AtomicI8.

impl From<NonZeroU64> for NonZeroI128[src][]

[]

Converts NonZeroU64 to NonZeroI128 losslessly.

impl From<u8> for AtomicU8[src][]

pub fn from(v: u8) -> AtomicU8[src][]

Converts an u8 into an AtomicU8.

impl From<NonZeroU8> for NonZeroUsize[src][]

[]

Converts NonZeroU8 to NonZeroUsize losslessly.

impl<'_, T> From<&'_ T> for NonNull<T> where
    T: ?Sized
[src][]

impl From<NonZeroU8> for NonZeroI32[src][]

[]

Converts NonZeroU8 to NonZeroI32 losslessly.

impl From<NonZeroU8> for NonZeroU16[src][]

[]

Converts NonZeroU8 to NonZeroU16 losslessly.

impl<T> From<T> for UnsafeCell<T>[src][]

impl<T> From<*mut T> for AtomicPtr<T>[src][]

impl From<NonZeroI16> for NonZeroI128[src][]

[]

Converts NonZeroI16 to NonZeroI128 losslessly.

impl From<NonZeroU16> for NonZeroI32[src][]

[]

Converts NonZeroU16 to NonZeroI32 losslessly.

impl From<i64> for AtomicI64[src][]

pub fn from(v: i64) -> AtomicI64[src][]

Converts an i64 into an AtomicI64.

impl From<NonZeroU8> for NonZeroU128[src][]

[]

Converts NonZeroU8 to NonZeroU128 losslessly.

impl From<u16> for AtomicU16[src][]

pub fn from(v: u16) -> AtomicU16[src][]

Converts an u16 into an AtomicU16.

impl From<usize> for AtomicUsize[src][]

pub fn from(v: usize) -> AtomicUsize[src][]

Converts an usize into an AtomicUsize.

impl From<NonZeroI16> for NonZeroI32[src][]

[]

Converts NonZeroI16 to NonZeroI32 losslessly.

impl From<NonZeroU64> for NonZeroU128[src][]

[]

Converts NonZeroU64 to NonZeroU128 losslessly.

impl From<NonZeroU32> for NonZeroU128[src][]

[]

Converts NonZeroU32 to NonZeroU128 losslessly.

impl From<NonZeroU16> for NonZeroU64[src][]

[]

Converts NonZeroU16 to NonZeroU64 losslessly.

impl From<NonZeroI16> for NonZeroIsize[src][]

[]

Converts NonZeroI16 to NonZeroIsize losslessly.

impl From<NonZeroU8> for NonZeroU64[src][]

[]

Converts NonZeroU8 to NonZeroU64 losslessly.

impl From<Infallible> for TryFromIntError[src][]

impl<T> From<T> for OnceCell<T>[src][]

impl<T> From<T> for Poll<T>[src][]

pub fn from(t: T) -> Poll<T>[src][]

Convert to a Ready variant.

Example

assert_eq!(Poll::from(true), Poll::Ready(true));

impl From<u32> for AtomicU32[src][]

pub fn from(v: u32) -> AtomicU32[src][]

Converts an u32 into an AtomicU32.

impl From<NonZeroU8> for NonZeroU32[src][]

[]

Converts NonZeroU8 to NonZeroU32 losslessly.

impl From<NonZeroU16> for NonZeroI64[src][]

[]

Converts NonZeroU16 to NonZeroI64 losslessly.

impl From<NonZeroU32> for NonZeroI128[src][]

[]

Converts NonZeroU32 to NonZeroI128 losslessly.

impl From<u64> for AtomicU64[src][]

pub fn from(v: u64) -> AtomicU64[src][]

Converts an u64 into an AtomicU64.

impl From<NonZeroI8> for NonZeroIsize[src][]

[]

Converts NonZeroI8 to NonZeroIsize losslessly.

impl From<isize> for AtomicIsize[src][]

pub fn from(v: isize) -> AtomicIsize[src][]

Converts an isize into an AtomicIsize.

impl<T> From<T> for RefCell<T>[src][]

impl From<NonZeroI16> for NonZeroI64[src][]

[]

Converts NonZeroI16 to NonZeroI64 losslessly.

impl From<NonZeroI64> for NonZeroI128[src][]

[]

Converts NonZeroI64 to NonZeroI128 losslessly.

impl From<NonZeroU8> for NonZeroI16[src][]

[]

Converts NonZeroU8 to NonZeroI16 losslessly.

impl From<NonZeroI8> for NonZeroI128[src][]

[]

Converts NonZeroI8 to NonZeroI128 losslessly.

impl From<NonZeroU16> for NonZeroUsize[src][]

[]

Converts NonZeroU16 to NonZeroUsize losslessly.

impl From<NonZeroU32> for NonZeroI64[src][]

[]

Converts NonZeroU32 to NonZeroI64 losslessly.

impl From<NonZeroI32> for NonZeroI64[src][]

[]

Converts NonZeroI32 to NonZeroI64 losslessly.

impl From<NonZeroU8> for NonZeroI64[src][]

[]

Converts NonZeroU8 to NonZeroI64 losslessly.

impl<T> From<T> for Cell<T>[src][]

impl From<NonZeroU16> for NonZeroI128[src][]

[]

Converts NonZeroU16 to NonZeroI128 losslessly.

impl From<bool> for AtomicBool[src][]

pub fn from(b: bool) -> AtomicBool[src][]

Converts a bool into an AtomicBool.

Examples

use std::sync::atomic::AtomicBool;
let atomic_bool = AtomicBool::from(true);
assert_eq!(format!("{:?}", atomic_bool), "true")

impl From<NonZeroI32> for NonZeroI128[src][]

[]

Converts NonZeroI32 to NonZeroI128 losslessly.

impl From<NonZeroI8> for NonZeroI32[src][]

[]

Converts NonZeroI8 to NonZeroI32 losslessly.

impl From<NonZeroU8> for NonZeroIsize[src][]

[]

Converts NonZeroU8 to NonZeroIsize losslessly.

impl From<NonZeroI8> for NonZeroI64[src][]

[]

Converts NonZeroI8 to NonZeroI64 losslessly.

impl From<NonZeroU16> for NonZeroU32[src][]

[]

Converts NonZeroU16 to NonZeroU32 losslessly.

impl From<NonZeroU16> for NonZeroU128[src][]

[]

Converts NonZeroU16 to NonZeroU128 losslessly.

impl From<i16> for AtomicI16[src][]

pub fn from(v: i16) -> AtomicI16[src][]

Converts an i16 into an AtomicI16.

impl From<!> for TryFromIntError[src][]

impl From<NonZeroI8> for NonZeroI16[src][]

[]

Converts NonZeroI8 to NonZeroI16 losslessly.

Implementors

impl From<!> for Infallible1.34.0[src][+]

impl From<NonZeroI8> for i81.31.0[src][+]

pub fn from(nonzero: NonZeroI8) -> i8[src][]

Converts a NonZeroI8 into an i8

impl From<NonZeroI16> for i161.31.0[src][+]

pub fn from(nonzero: NonZeroI16) -> i16[src][]

Converts a NonZeroI16 into an i16

impl From<NonZeroI32> for i321.31.0[src][+]

pub fn from(nonzero: NonZeroI32) -> i32[src][]

Converts a NonZeroI32 into an i32

impl From<NonZeroI64> for i641.31.0[src][+]

pub fn from(nonzero: NonZeroI64) -> i64[src][]

Converts a NonZeroI64 into an i64

impl From<NonZeroI128> for i1281.31.0[src][+]

pub fn from(nonzero: NonZeroI128) -> i128[src][]

Converts a NonZeroI128 into an i128

impl From<NonZeroIsize> for isize1.31.0[src][+]

pub fn from(nonzero: NonZeroIsize) -> isize[src][]

Converts a NonZeroIsize into an isize

impl From<NonZeroU8> for u81.31.0[src][+]

pub fn from(nonzero: NonZeroU8) -> u8[src][]

Converts a NonZeroU8 into an u8

impl From<NonZeroU16> for u161.31.0[src][+]

pub fn from(nonzero: NonZeroU16) -> u16[src][]

Converts a NonZeroU16 into an u16

impl From<NonZeroU32> for u321.31.0[src][+]

pub fn from(nonzero: NonZeroU32) -> u32[src][]

Converts a NonZeroU32 into an u32

impl From<NonZeroU64> for u641.31.0[src][+]

pub fn from(nonzero: NonZeroU64) -> u64[src][]

Converts a NonZeroU64 into an u64

impl From<NonZeroU128> for u1281.31.0[src][+]

pub fn from(nonzero: NonZeroU128) -> u128[src][]

Converts a NonZeroU128 into an u128

impl From<NonZeroUsize> for usize1.31.0[src][+]

pub fn from(nonzero: NonZeroUsize) -> usize[src][]

Converts a NonZeroUsize into an usize

impl From<bool> for i81.28.0[src][+]

Converts a bool to a i8. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(i8::from(true), 1);
assert_eq!(i8::from(false), 0);

impl From<bool> for i161.28.0[src][+]

Converts a bool to a i16. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(i16::from(true), 1);
assert_eq!(i16::from(false), 0);

impl From<bool> for i321.28.0[src][+]

Converts a bool to a i32. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(i32::from(true), 1);
assert_eq!(i32::from(false), 0);

impl From<bool> for i641.28.0[src][+]

Converts a bool to a i64. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(i64::from(true), 1);
assert_eq!(i64::from(false), 0);

impl From<bool> for i1281.28.0[src][+]

Converts a bool to a i128. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(i128::from(true), 1);
assert_eq!(i128::from(false), 0);

impl From<bool> for isize1.28.0[src][+]

Converts a bool to a isize. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(isize::from(true), 1);
assert_eq!(isize::from(false), 0);

impl From<bool> for u81.28.0[src][+]

Converts a bool to a u8. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(u8::from(true), 1);
assert_eq!(u8::from(false), 0);

impl From<bool> for u161.28.0[src][+]

Converts a bool to a u16. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(u16::from(true), 1);
assert_eq!(u16::from(false), 0);

impl From<bool> for u321.28.0[src][+]

Converts a bool to a u32. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(u32::from(true), 1);
assert_eq!(u32::from(false), 0);

impl From<bool> for u641.28.0[src][+]

Converts a bool to a u64. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(u64::from(true), 1);
assert_eq!(u64::from(false), 0);

impl From<bool> for u1281.28.0[src][+]

Converts a bool to a u128. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(u128::from(true), 1);
assert_eq!(u128::from(false), 0);

impl From<bool> for usize1.28.0[src][+]

Converts a bool to a usize. The resulting value is 0 for false and 1 for true values.

Examples

assert_eq!(usize::from(true), 1);
assert_eq!(usize::from(false), 0);

impl From<char> for u321.13.0[src][+]

pub fn from(c: char) -> u32[src][]

Converts a [char] into a [u32].

Examples

use std::mem;

let c = 'c';
let u = u32::from(c);
assert!(4 == mem::size_of_val(&u))

impl From<char> for u641.51.0[src][+]

pub fn from(c: char) -> u64[src][]

Converts a [char] into a [u64].

Examples

use std::mem;

let c = '👤';
let u = u64::from(c);
assert!(8 == mem::size_of_val(&u))

impl From<char> for u1281.51.0[src][+]

pub fn from(c: char) -> u128[src][]

Converts a [char] into a [u128].

Examples

use std::mem;

let c = '⚙';
let u = u128::from(c);
assert!(16 == mem::size_of_val(&u))

impl From<f32> for f641.6.0[src][+]

Converts f32 to f64 losslessly.

impl From<i8> for f321.6.0[src][+]

Converts i8 to f32 losslessly.

impl From<i8> for f641.6.0[src][+]

Converts i8 to f64 losslessly.

impl From<i8> for i161.5.0[src][+]

Converts i8 to i16 losslessly.

impl From<i8> for i321.5.0[src][+]

Converts i8 to i32 losslessly.

impl From<i8> for i641.5.0[src][+]

Converts i8 to i64 losslessly.

impl From<i8> for i1281.26.0[src][+]

Converts i8 to i128 losslessly.

impl From<i8> for isize1.5.0[src][+]

Converts i8 to isize losslessly.

impl From<i16> for f321.6.0[src][+]

Converts i16 to f32 losslessly.

impl From<i16> for f641.6.0[src][+]

Converts i16 to f64 losslessly.

impl From<i16> for i321.5.0[src][+]

Converts i16 to i32 losslessly.

impl From<i16> for i641.5.0[src][+]

Converts i16 to i64 losslessly.

impl From<i16> for i1281.26.0[src][+]

Converts i16 to i128 losslessly.

impl From<i16> for isize1.26.0[src][+]

Converts i16 to isize losslessly.

impl From<i32> for f641.6.0[src][+]

Converts i32 to f64 losslessly.

impl From<i32> for i641.5.0[src][+]

Converts i32 to i64 losslessly.

impl From<i32> for i1281.26.0[src][+]

Converts i32 to i128 losslessly.

impl From<i64> for i1281.26.0[src][+]

Converts i64 to i128 losslessly.

impl From<u8> for char1.13.0[src][+]

Maps a byte in 0x00..=0xFF to a char whose code point has the same value, in U+0000..=U+00FF.

Unicode is designed such that this effectively decodes bytes with the character encoding that IANA calls ISO-8859-1. This encoding is compatible with ASCII.

Note that this is different from ISO/IEC 8859-1 a.k.a. ISO 8859-1 (with one less hyphen), which leaves some “blanks”, byte values that are not assigned to any character. ISO-8859-1 (the IANA one) assigns them to the C0 and C1 control codes.

Note that this is also different from Windows-1252 a.k.a. code page 1252, which is a superset ISO/IEC 8859-1 that assigns some (not all!) blanks to punctuation and various Latin characters.

To confuse things further, on the Web ascii, iso-8859-1, and windows-1252 are all aliases for a superset of Windows-1252 that fills the remaining blanks with corresponding C0 and C1 control codes.

pub fn from(i: u8) -> char[src][]

Converts a u8 into a [char].

Examples

use std::mem;

let u = 32 as u8;
let c = char::from(u);
assert!(4 == mem::size_of_val(&c))

impl From<u8> for f321.6.0[src][+]

Converts u8 to f32 losslessly.

impl From<u8> for f641.6.0[src][+]

Converts u8 to f64 losslessly.

impl From<u8> for i161.5.0[src][+]

Converts u8 to i16 losslessly.

impl From<u8> for i321.5.0[src][+]

Converts u8 to i32 losslessly.

impl From<u8> for i641.5.0[src][+]

Converts u8 to i64 losslessly.

impl From<u8> for i1281.26.0[src][+]

Converts u8 to i128 losslessly.

impl From<u8> for isize1.26.0[src][+]

Converts u8 to isize losslessly.

impl From<u8> for u161.5.0[src][+]

Converts u8 to u16 losslessly.

impl From<u8> for u321.5.0[src][+]

Converts u8 to u32 losslessly.

impl From<u8> for u641.5.0[src][+]

Converts u8 to u64 losslessly.

impl From<u8> for u1281.26.0[src][+]

Converts u8 to u128 losslessly.

impl From<u8> for usize1.5.0[src][+]

Converts u8 to usize losslessly.

impl From<u16> for f321.6.0[src][+]

Converts u16 to f32 losslessly.

impl From<u16> for f641.6.0[src][+]

Converts u16 to f64 losslessly.

impl From<u16> for i321.5.0[src][+]

Converts u16 to i32 losslessly.

impl From<u16> for i641.5.0[src][+]

Converts u16 to i64 losslessly.

impl From<u16> for i1281.26.0[src][+]

Converts u16 to i128 losslessly.

impl From<u16> for u321.5.0[src][+]

Converts u16 to u32 losslessly.

impl From<u16> for u641.5.0[src][+]

Converts u16 to u64 losslessly.

impl From<u16> for u1281.26.0[src][+]

Converts u16 to u128 losslessly.

impl From<u16> for usize1.26.0[src][+]

Converts u16 to usize losslessly.

impl From<u32> for f641.6.0[src][+]

Converts u32 to f64 losslessly.

impl From<u32> for i641.5.0[src][+]

Converts u32 to i64 losslessly.

impl From<u32> for i1281.26.0[src][+]

Converts u32 to i128 losslessly.

impl From<u32> for u641.5.0[src][+]

Converts u32 to u64 losslessly.

impl From<u32> for u1281.26.0[src][+]

Converts u32 to u128 losslessly.

impl From<u64> for i1281.26.0[src][+]

Converts u64 to i128 losslessly.

impl From<u64> for u1281.26.0[src][+]

Converts u64 to u128 losslessly.

impl<'a, T> From<&'a Option<T>> for Option<&'a T>1.30.0[src][+]

pub fn from(o: &'a Option<T>) -> Option<&'a T>[src][]

Converts from &Option<T> to Option<&T>.

Examples

Converts an Option<String> into an Option<usize>, preserving the original. The map method takes the self argument by value, consuming the original, so this technique uses as_ref to first take an Option to a reference to the value inside the original.

let s: Option<String> = Some(String::from("Hello, Rustaceans!"));
let o: Option<usize> = Option::from(&s).map(|ss: &String| ss.len());

println!("Can still print s: {:?}", s);

assert_eq!(o, Some(18));

impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T>1.30.0[src][+]

pub fn from(o: &'a mut Option<T>) -> Option<&'a mut T>[src][]

Converts from &mut Option<T> to Option<&mut T>

Examples

let mut s = Some(String::from("Hello"));
let o: Option<&mut String> = Option::from(&mut s);

match o {
    Some(t) => *t = String::from("Hello, Rustaceans!"),
    None => (),
}

assert_eq!(s, Some(String::from("Hello, Rustaceans!")));

impl<T> From<!> for T1.34.0[src][+]

Stability note: This impl does not yet exist, but we are “reserving space” to add it in the future. See rust-lang/rust#64715 for details.

impl<T> From<T> for Option<T>1.12.0[src][+]

pub fn from(val: T) -> Option<T>[src][]

Copies val into a new Some.

Examples

let o: Option<u8> = Option::from(67);

assert_eq!(Some(67), o);

impl<T> From<T> for T[src][+]

impl<F: Into<f32>> From<(F, F)> for Point

impl<F: Into<f32>> From<[F; 2]> for Point

impl<T> From<SendError<T>> for TrySendError<T>

impl<T> From<SendError<T>> for SendTimeoutError<T>

impl From<RecvError> for TryRecvError

impl From<RecvError> for RecvTimeoutError

impl<T: ?Sized + Pointable> From<Owned<T>> for Atomic<T>

impl<T> From<Box<T, Global>> for Atomic<T>

impl<T> From<T> for Atomic<T>

impl<'g, T: ?Sized + Pointable> From<Shared<'g, T>> for Atomic<T>

impl<T> From<*const T> for Atomic<T>

impl<T> From<T> for Owned<T>

impl<T> From<Box<T, Global>> for Owned<T>

impl<T> From<*const T> for Shared<'_, T>

impl<T> From<T> for AtomicCell<T>

impl<T> From<T> for CachePadded<T>

impl<T> From<T> for ShardedLock<T>

impl From<Compression> for CompressionOptions

impl<L, R> From<Result<R, L>> for Either<L, R>

impl<R: Resources, C> From<C> for Encoder<R, C>

impl<'a> From<PipelineStateError<&'a str>> for PipelineStateError<String>

impl<S> From<ProgramError> for PipelineStateError<S>

impl<S> From<InitError<S>> for PipelineStateError<S>

impl<S> From<CreationError> for PipelineStateError<S>

impl<'a> From<ElementError<&'a str>> for ElementError<String>

impl<'a> From<InitError<&'a str>> for InitError<String>

impl From<[f32; 4]> for ClearColor

impl From<[f32; 3]> for ClearColor

impl From<[f32; 2]> for ClearColor

impl From<[i32; 4]> for ClearColor

impl From<[i32; 3]> for ClearColor

impl From<[i32; 2]> for ClearColor

impl From<[u32; 4]> for ClearColor

impl From<[u32; 3]> for ClearColor

impl From<[u32; 2]> for ClearColor

impl From<f32> for ClearColor

impl From<i32> for ClearColor

impl From<u32> for ClearColor

impl From<CreationError> for CombinedError

impl From<ResourceViewError> for CombinedError

impl From<TargetViewError> for CombinedError

impl From<u8> for U8Norm

impl From<i8> for I8Norm

impl From<u16> for U16Norm

impl From<i16> for I16Norm

impl From<u16> for F16

impl From<ColorMask> for ColorInfo

impl From<Blend> for ColorInfo

impl From<Depth> for DepthStencilInfo

impl From<Stencil> for DepthStencilInfo

impl From<(Depth, Stencil)> for DepthStencilInfo

impl From<Stage> for Usage

impl<S: Into<String>> From<S> for CreateProgramError

impl From<u8> for AaMode

impl From<f32> for Lod

impl From<[f32; 4]> for PackedColor

impl From<RenderDesc> for DepthStencilDesc

impl From<UpdateError<[u16; 3]>> for Error

impl From<CreationError> for Error

impl From<ResourceViewError> for Error

impl From<Extension> for AnyExtension

impl From<Error> for DecodingError

impl From<DecodingFormatError> for DecodingError

impl From<Error> for EncodingError

impl From<OsError> for CreationError

impl From<Error> for ImageError

impl From<ImageFormat> for ImageFormatHint

impl From<&'_ Path> for ImageFormatHint

impl From<ImageFormatHint> for UnsupportedError

impl From<NeuQuant> for NeuQuant

impl From<Error> for ImageError

impl From<BitmapHeader> for PnmHeader

impl From<GraymapHeader> for PnmHeader

impl From<PixmapHeader> for PnmHeader

impl From<ArbitraryHeader> for PnmHeader

impl From<ColorType> for ExtendedColorType

impl<T: Primitive + 'static> From<[T; 3]> for Rgb<T>

impl<T: Primitive + 'static> From<[T; 3]> for Bgr<T>

impl<T: Primitive + 'static> From<[T; 1]> for Luma<T>

impl<T: Primitive + 'static> From<[T; 4]> for Rgba<T>

impl<T: Primitive + 'static> From<[T; 4]> for Bgra<T>

impl<T: Primitive + 'static> From<[T; 2]> for LumaA<T>

impl From<ImageFormat> for ImageOutputFormat

impl From<u32> for Key

impl From<u32> for MouseButton

impl From<Key> for Button

impl From<MouseButton> for Button

impl From<ControllerButton> for Button

impl From<ButtonArgs> for Input

impl From<ControllerAxisArgs> for Motion

impl From<ControllerAxisArgs> for Input

impl From<TouchArgs> for Motion

impl From<TouchArgs> for Input

impl From<Motion> for Input

impl From<RenderArgs> for Loop

impl From<RenderArgs> for Event

impl From<AfterRenderArgs> for Loop

impl From<AfterRenderArgs> for Event

impl From<UpdateArgs> for Loop

impl From<UpdateArgs> for Event

impl From<IdleArgs> for Loop

impl From<IdleArgs> for Event

impl From<CloseArgs> for Input

impl<T> From<T> for Event where
    Input: From<T>, 

impl<T> From<(T, Option<u32>)> for Event where
    Input: From<T>, 

impl From<Loop> for Event

impl From<Error> for Error

impl From<Library> for Library

impl From<Library> for Library

impl<R: RawMutex, T> From<T> for Mutex<R, T>

impl<R: RawMutex, G: GetThreadId, T> From<T> for ReentrantMutex<R, G, T>

impl<R: RawRwLock, T> From<T> for RwLock<R, T>

impl From<MZFlush> for TDEFLFlush

impl From<StreamResult> for MZResult

impl From<&'_ StreamResult> for MZResult

impl From<Ready> for UnixReady

impl From<UnixReady> for Ready

impl From<usize> for Token

impl<T> From<SendError<T>> for SendError<T>

impl<T> From<Error> for SendError<T>

impl<T> From<TrySendError<T>> for TrySendError<T>

impl<T> From<SendError<T>> for TrySendError<T>

impl<T> From<Error> for TrySendError<T>

impl<'a> From<Vec<AioCb<'a>, Global>> for LioCb<'a>

impl<'a> From<&'a sigevent> for SigEvent

impl From<ucred> for UnixCredentials

impl From<termios> for Termios

impl From<timespec> for TimeSpec

impl From<Duration> for TimeSpec

impl From<timeval> for TimeVal

impl From<i32> for ClockId

impl From<Pid> for pid_t

impl From<&'_ passwd> for User

impl From<&'_ group> for Group

impl From<Errno> for Error

impl From<FromUtf8Error> for Error

impl<T> From<T> for Ratio<T> where
    T: Clone + Integer

impl<T> From<(T, T)> for Ratio<T> where
    T: Clone + Integer

impl<T> From<T> for OnceCell<T>

impl<T> From<T> for OnceCell<T>

impl From<Compression> for Compression

impl From<Error> for DecodingError

impl From<String> for DecodingError

impl From<Error> for EncodingError

impl From<Span> for Span

impl From<TokenStream> for TokenStream

impl From<TokenTree> for TokenStream

impl From<Group> for TokenTree

impl From<Ident> for TokenTree

impl From<Punct> for TokenTree

impl From<Literal> for TokenTree

impl From<GlyphId> for GlyphId

impl From<LayoutError> for CollectionAllocErr

impl<'a, A: Array> From<&'a [<A as Array>::Item]> for SmallVec<A> where
    A::Item: Clone

impl<A: Array> From<Vec<<A as Array>::Item, Global>> for SmallVec<A>

impl<A: Array> From<A> for SmallVec<A>

impl From<bool> for WindowState

impl From<[u8; 4]> for ARGBColor

impl From<SelfValue> for Ident

impl From<SelfType> for Ident

impl From<Super> for Ident

impl From<Crate> for Ident

impl From<Extern> for Ident

impl From<Underscore> for Ident

impl From<Path> for Meta

impl From<MetaList> for Meta

impl From<MetaNameValue> for Meta

impl From<Meta> for NestedMeta

impl From<Lit> for NestedMeta

impl From<FieldsNamed> for Fields

impl From<FieldsUnnamed> for Fields

impl From<VisPublic> for Visibility

impl From<VisCrate> for Visibility

impl From<VisRestricted> for Visibility

impl From<ExprArray> for Expr

impl From<ExprAssign> for Expr

impl From<ExprAssignOp> for Expr

impl From<ExprAsync> for Expr

impl From<ExprAwait> for Expr

impl From<ExprBinary> for Expr

impl From<ExprBlock> for Expr

impl From<ExprBox> for Expr

impl From<ExprBreak> for Expr

impl From<ExprCall> for Expr

impl From<ExprCast> for Expr

impl From<ExprClosure> for Expr

impl From<ExprContinue> for Expr

impl From<ExprField> for Expr

impl From<ExprForLoop> for Expr

impl From<ExprGroup> for Expr

impl From<ExprIf> for Expr

impl From<ExprIndex> for Expr

impl From<ExprLet> for Expr

impl From<ExprLit> for Expr

impl From<ExprLoop> for Expr

impl From<ExprMacro> for Expr

impl From<ExprMatch> for Expr

impl From<ExprMethodCall> for Expr

impl From<ExprParen> for Expr

impl From<ExprPath> for Expr

impl From<ExprRange> for Expr

impl From<ExprReference> for Expr

impl From<ExprRepeat> for Expr

impl From<ExprReturn> for Expr

impl From<ExprStruct> for Expr

impl From<ExprTry> for Expr

impl From<ExprTryBlock> for Expr

impl From<ExprTuple> for Expr

impl From<ExprType> for Expr

impl From<ExprUnary> for Expr

impl From<ExprUnsafe> for Expr

impl From<ExprWhile> for Expr

impl From<ExprYield> for Expr

impl From<usize> for Index

impl From<TypeParam> for GenericParam

impl From<LifetimeDef> for GenericParam

impl From<ConstParam> for GenericParam

impl From<Ident> for TypeParam

impl From<TraitBound> for TypeParamBound

impl From<Lifetime> for TypeParamBound

impl From<PredicateType> for WherePredicate

impl From<PredicateLifetime> for WherePredicate

impl From<PredicateEq> for WherePredicate

impl From<ItemConst> for Item

impl From<ItemEnum> for Item

impl From<ItemExternCrate> for Item

impl From<ItemFn> for Item

impl From<ItemForeignMod> for Item

impl From<ItemImpl> for Item

impl From<ItemMacro> for Item

impl From<ItemMacro2> for Item

impl From<ItemMod> for Item

impl From<ItemStatic> for Item

impl From<ItemStruct> for Item

impl From<ItemTrait> for Item

impl From<ItemTraitAlias> for Item

impl From<ItemType> for Item

impl From<ItemUnion> for Item

impl From<ItemUse> for Item

impl From<DeriveInput> for Item

impl From<ItemStruct> for DeriveInput

impl From<ItemEnum> for DeriveInput

impl From<ItemUnion> for DeriveInput

impl From<UsePath> for UseTree

impl From<UseName> for UseTree

impl From<UseRename> for UseTree

impl From<UseGlob> for UseTree

impl From<UseGroup> for UseTree

impl From<ForeignItemFn> for ForeignItem

impl From<ForeignItemStatic> for ForeignItem

impl From<ForeignItemType> for ForeignItem

impl From<ForeignItemMacro> for ForeignItem

impl From<TraitItemConst> for TraitItem

impl From<TraitItemMethod> for TraitItem

impl From<TraitItemType> for TraitItem

impl From<TraitItemMacro> for TraitItem

impl From<ImplItemConst> for ImplItem

impl From<ImplItemMethod> for ImplItem

impl From<ImplItemType> for ImplItem

impl From<ImplItemMacro> for ImplItem

impl From<Receiver> for FnArg

impl From<PatType> for FnArg

impl From<LitStr> for Lit

impl From<LitByteStr> for Lit

impl From<LitByte> for Lit

impl From<LitChar> for Lit

impl From<LitInt> for Lit

impl From<LitFloat> for Lit

impl From<LitBool> for Lit

impl From<Literal> for LitInt

impl From<Literal> for LitFloat

impl From<DataStruct> for Data

impl From<DataEnum> for Data

impl From<DataUnion> for Data

impl From<TypeArray> for Type

impl From<TypeBareFn> for Type

impl From<TypeGroup> for Type

impl From<TypeImplTrait> for Type

impl From<TypeInfer> for Type

impl From<TypeMacro> for Type

impl From<TypeNever> for Type

impl From<TypeParen> for Type

impl From<TypePath> for Type

impl From<TypePtr> for Type

impl From<TypeReference> for Type

impl From<TypeSlice> for Type

impl From<TypeTraitObject> for Type

impl From<TypeTuple> for Type

impl From<PatBox> for Pat

impl From<PatIdent> for Pat

impl From<PatLit> for Pat

impl From<PatMacro> for Pat

impl From<PatOr> for Pat

impl From<PatPath> for Pat

impl From<PatRange> for Pat

impl From<PatReference> for Pat

impl From<PatRest> for Pat

impl From<PatSlice> for Pat

impl From<PatStruct> for Pat

impl From<PatTuple> for Pat

impl From<PatTupleStruct> for Pat

impl From<PatType> for Pat

impl From<PatWild> for Pat

impl<T> From<T> for Path where
    T: Into<PathSegment>, 

impl<T> From<T> for PathSegment where
    T: Into<Ident>, 

impl From<LexError> for Error

impl From<Error> for TiffError

impl From<FromUtf8Error> for TiffError

impl From<TiffFormatError> for TiffError

impl From<TiffUnsupportedError> for TiffError

impl From<TryFromIntError> for TiffError

impl From<u16> for Weight

impl<I: Interface> From<Main<I>> for Attached<I> where
    I: AsRef<Proxy<I>> + From<Proxy<I>>, 

impl From<Proxy<WlDisplay>> for WlDisplay

impl From<WlDisplay> for Proxy<WlDisplay>

impl From<Proxy<WlRegistry>> for WlRegistry

impl From<WlRegistry> for Proxy<WlRegistry>

impl From<Proxy<WlCallback>> for WlCallback

impl From<WlCallback> for Proxy<WlCallback>

impl From<Proxy<WlCompositor>> for WlCompositor

impl From<WlCompositor> for Proxy<WlCompositor>

impl From<Proxy<WlShmPool>> for WlShmPool

impl From<WlShmPool> for Proxy<WlShmPool>

impl From<Proxy<WlShm>> for WlShm

impl From<WlShm> for Proxy<WlShm>

impl From<Proxy<WlBuffer>> for WlBuffer

impl From<WlBuffer> for Proxy<WlBuffer>

impl From<Proxy<WlDataOffer>> for WlDataOffer

impl From<WlDataOffer> for Proxy<WlDataOffer>

impl From<Proxy<WlDataSource>> for WlDataSource

impl From<WlDataSource> for Proxy<WlDataSource>

impl From<Proxy<WlDataDevice>> for WlDataDevice

impl From<WlDataDevice> for Proxy<WlDataDevice>

impl From<Proxy<WlDataDeviceManager>> for WlDataDeviceManager

impl From<WlDataDeviceManager> for Proxy<WlDataDeviceManager>

impl From<Proxy<WlShell>> for WlShell

impl From<WlShell> for Proxy<WlShell>

impl From<Proxy<WlShellSurface>> for WlShellSurface

impl From<WlShellSurface> for Proxy<WlShellSurface>

impl From<Proxy<WlSurface>> for WlSurface

impl From<WlSurface> for Proxy<WlSurface>

impl From<Proxy<WlSeat>> for WlSeat

impl From<WlSeat> for Proxy<WlSeat>

impl From<Proxy<WlPointer>> for WlPointer

impl From<WlPointer> for Proxy<WlPointer>

impl From<Proxy<WlKeyboard>> for WlKeyboard

impl From<WlKeyboard> for Proxy<WlKeyboard>

impl From<Proxy<WlTouch>> for WlTouch

impl From<WlTouch> for Proxy<WlTouch>

impl From<Proxy<WlOutput>> for WlOutput

impl From<WlOutput> for Proxy<WlOutput>

impl From<Proxy<WlRegion>> for WlRegion

impl From<WlRegion> for Proxy<WlRegion>

impl From<Proxy<WlSubcompositor>> for WlSubcompositor

impl From<WlSubcompositor> for Proxy<WlSubcompositor>

impl From<Proxy<WlSubsurface>> for WlSubsurface

impl From<WlSubsurface> for Proxy<WlSubsurface>

impl From<Proxy<AnonymousObject>> for AnonymousObject

impl From<AnonymousObject> for Proxy<AnonymousObject>

impl From<Proxy<ZwpFullscreenShellV1>> for ZwpFullscreenShellV1

impl From<Proxy<ZwpFullscreenShellModeFeedbackV1>> for ZwpFullscreenShellModeFeedbackV1

impl From<Proxy<ZwpIdleInhibitManagerV1>> for ZwpIdleInhibitManagerV1

impl From<Proxy<ZwpIdleInhibitorV1>> for ZwpIdleInhibitorV1

impl From<Proxy<ZwpInputMethodContextV1>> for ZwpInputMethodContextV1

impl From<Proxy<ZwpInputMethodV1>> for ZwpInputMethodV1

impl From<Proxy<ZwpInputPanelV1>> for ZwpInputPanelV1

impl From<Proxy<ZwpInputPanelSurfaceV1>> for ZwpInputPanelSurfaceV1

impl From<Proxy<ZwpInputTimestampsManagerV1>> for ZwpInputTimestampsManagerV1

impl From<Proxy<ZwpInputTimestampsV1>> for ZwpInputTimestampsV1

impl From<Proxy<ZwpKeyboardShortcutsInhibitManagerV1>> for ZwpKeyboardShortcutsInhibitManagerV1

impl From<Proxy<ZwpKeyboardShortcutsInhibitorV1>> for ZwpKeyboardShortcutsInhibitorV1

impl From<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1

impl From<Proxy<ZwpLinuxBufferParamsV1>> for ZwpLinuxBufferParamsV1

impl From<Proxy<ZwpLinuxExplicitSynchronizationV1>> for ZwpLinuxExplicitSynchronizationV1

impl From<Proxy<ZwpLinuxSurfaceSynchronizationV1>> for ZwpLinuxSurfaceSynchronizationV1

impl From<Proxy<ZwpLinuxBufferReleaseV1>> for ZwpLinuxBufferReleaseV1

impl From<Proxy<ZwpPointerConstraintsV1>> for ZwpPointerConstraintsV1

impl From<Proxy<ZwpLockedPointerV1>> for ZwpLockedPointerV1

impl From<Proxy<ZwpConfinedPointerV1>> for ZwpConfinedPointerV1

impl From<Proxy<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1

impl From<Proxy<ZwpPointerGestureSwipeV1>> for ZwpPointerGestureSwipeV1

impl From<Proxy<ZwpPointerGesturePinchV1>> for ZwpPointerGesturePinchV1

impl From<Proxy<ZwpPrimarySelectionDeviceManagerV1>> for ZwpPrimarySelectionDeviceManagerV1

impl From<Proxy<ZwpPrimarySelectionDeviceV1>> for ZwpPrimarySelectionDeviceV1

impl From<Proxy<ZwpPrimarySelectionOfferV1>> for ZwpPrimarySelectionOfferV1

impl From<Proxy<ZwpPrimarySelectionSourceV1>> for ZwpPrimarySelectionSourceV1

impl From<Proxy<ZwpRelativePointerManagerV1>> for ZwpRelativePointerManagerV1

impl From<Proxy<ZwpRelativePointerV1>> for ZwpRelativePointerV1

impl From<Proxy<ZwpTabletManagerV1>> for ZwpTabletManagerV1

impl From<Proxy<ZwpTabletSeatV1>> for ZwpTabletSeatV1

impl From<Proxy<ZwpTabletToolV1>> for ZwpTabletToolV1

impl From<Proxy<ZwpTabletV1>> for ZwpTabletV1

impl From<Proxy<ZwpTabletManagerV2>> for ZwpTabletManagerV2

impl From<Proxy<ZwpTabletSeatV2>> for ZwpTabletSeatV2

impl From<Proxy<ZwpTabletToolV2>> for ZwpTabletToolV2

impl From<Proxy<ZwpTabletV2>> for ZwpTabletV2

impl From<Proxy<ZwpTabletPadRingV2>> for ZwpTabletPadRingV2

impl From<Proxy<ZwpTabletPadStripV2>> for ZwpTabletPadStripV2

impl From<Proxy<ZwpTabletPadGroupV2>> for ZwpTabletPadGroupV2

impl From<Proxy<ZwpTabletPadV2>> for ZwpTabletPadV2

impl From<Proxy<ZwpTextInputV1>> for ZwpTextInputV1

impl From<Proxy<ZwpTextInputManagerV1>> for ZwpTextInputManagerV1

impl From<Proxy<ZwpTextInputV3>> for ZwpTextInputV3

impl From<Proxy<ZwpTextInputManagerV3>> for ZwpTextInputManagerV3

impl From<Proxy<ZxdgDecorationManagerV1>> for ZxdgDecorationManagerV1

impl From<Proxy<ZxdgToplevelDecorationV1>> for ZxdgToplevelDecorationV1

impl From<Proxy<ZxdgExporterV1>> for ZxdgExporterV1

impl From<Proxy<ZxdgImporterV1>> for ZxdgImporterV1

impl From<Proxy<ZxdgExportedV1>> for ZxdgExportedV1

impl From<Proxy<ZxdgImportedV1>> for ZxdgImportedV1

impl From<Proxy<ZxdgExporterV2>> for ZxdgExporterV2

impl From<Proxy<ZxdgImporterV2>> for ZxdgImporterV2

impl From<Proxy<ZxdgExportedV2>> for ZxdgExportedV2

impl From<Proxy<ZxdgImportedV2>> for ZxdgImportedV2

impl From<Proxy<ZxdgOutputManagerV1>> for ZxdgOutputManagerV1

impl From<Proxy<ZxdgOutputV1>> for ZxdgOutputV1

impl From<Proxy<XdgShell>> for XdgShell

impl From<Proxy<XdgSurface>> for XdgSurface

impl From<Proxy<XdgPopup>> for XdgPopup

impl From<Proxy<ZxdgShellV6>> for ZxdgShellV6

impl From<Proxy<ZxdgPositionerV6>> for ZxdgPositionerV6

impl From<Proxy<ZxdgSurfaceV6>> for ZxdgSurfaceV6

impl From<Proxy<ZxdgToplevelV6>> for ZxdgToplevelV6

impl From<Proxy<ZxdgPopupV6>> for ZxdgPopupV6

impl From<Proxy<ZwpXwaylandKeyboardGrabManagerV1>> for ZwpXwaylandKeyboardGrabManagerV1

impl From<Proxy<ZwpXwaylandKeyboardGrabV1>> for ZwpXwaylandKeyboardGrabV1

impl From<Proxy<GtkPrimarySelectionDeviceManager>> for GtkPrimarySelectionDeviceManager

impl From<Proxy<GtkPrimarySelectionDevice>> for GtkPrimarySelectionDevice

impl From<Proxy<GtkPrimarySelectionOffer>> for GtkPrimarySelectionOffer

impl From<Proxy<GtkPrimarySelectionSource>> for GtkPrimarySelectionSource

impl From<Proxy<ZwlrDataControlManagerV1>> for ZwlrDataControlManagerV1

impl From<Proxy<ZwlrDataControlDeviceV1>> for ZwlrDataControlDeviceV1

impl From<Proxy<ZwlrDataControlSourceV1>> for ZwlrDataControlSourceV1

impl From<Proxy<ZwlrDataControlOfferV1>> for ZwlrDataControlOfferV1

impl From<Proxy<ZwlrExportDmabufManagerV1>> for ZwlrExportDmabufManagerV1

impl From<Proxy<ZwlrExportDmabufFrameV1>> for ZwlrExportDmabufFrameV1

impl From<Proxy<ZwlrForeignToplevelManagerV1>> for ZwlrForeignToplevelManagerV1

impl From<Proxy<ZwlrForeignToplevelHandleV1>> for ZwlrForeignToplevelHandleV1

impl From<Proxy<ZwlrGammaControlManagerV1>> for ZwlrGammaControlManagerV1

impl From<Proxy<ZwlrGammaControlV1>> for ZwlrGammaControlV1

impl From<Proxy<ZwlrInputInhibitManagerV1>> for ZwlrInputInhibitManagerV1

impl From<Proxy<ZwlrInputInhibitorV1>> for ZwlrInputInhibitorV1

impl From<Proxy<ZwlrLayerShellV1>> for ZwlrLayerShellV1

impl From<Proxy<ZwlrLayerSurfaceV1>> for ZwlrLayerSurfaceV1

impl From<Proxy<ZwlrOutputManagerV1>> for ZwlrOutputManagerV1

impl From<Proxy<ZwlrOutputHeadV1>> for ZwlrOutputHeadV1

impl From<Proxy<ZwlrOutputModeV1>> for ZwlrOutputModeV1

impl From<Proxy<ZwlrOutputConfigurationV1>> for ZwlrOutputConfigurationV1

impl From<Proxy<ZwlrOutputConfigurationHeadV1>> for ZwlrOutputConfigurationHeadV1

impl From<Proxy<ZwlrOutputPowerManagerV1>> for ZwlrOutputPowerManagerV1

impl From<Proxy<ZwlrOutputPowerV1>> for ZwlrOutputPowerV1

impl From<Proxy<ZwlrScreencopyManagerV1>> for ZwlrScreencopyManagerV1

impl From<Proxy<ZwlrScreencopyFrameV1>> for ZwlrScreencopyFrameV1

impl From<Proxy<ZwlrVirtualPointerV1>> for ZwlrVirtualPointerV1

impl From<Proxy<ZwlrVirtualPointerManagerV1>> for ZwlrVirtualPointerManagerV1

impl From<Proxy<WpPresentation>> for WpPresentation

impl From<Proxy<WpPresentationFeedback>> for WpPresentationFeedback

impl From<Proxy<XdgWmBase>> for XdgWmBase

impl From<Proxy<XdgPositioner>> for XdgPositioner

impl From<Proxy<XdgSurface>> for XdgSurface

impl From<Proxy<XdgToplevel>> for XdgToplevel

impl From<Proxy<XdgPopup>> for XdgPopup

impl From<Proxy<WpViewporter>> for WpViewporter

impl From<Proxy<WpViewport>> for WpViewport

impl From<[u32; 2]> for Size

impl From<[f64; 2]> for Size

impl From<(u32, u32)> for Size

impl From<(f64, f64)> for Size

impl From<[i32; 2]> for Position

impl From<(i32, i32)> for Position

impl<P: Pixel, X: Pixel> From<(X, X)> for LogicalPosition<P>

impl<P: Pixel, X: Pixel> From<[X; 2]> for LogicalPosition<P>

impl<P: Pixel, X: Pixel> From<(X, X)> for PhysicalPosition<P>

impl<P: Pixel, X: Pixel> From<[X; 2]> for PhysicalPosition<P>

impl<P: Pixel, X: Pixel> From<(X, X)> for LogicalSize<P>

impl<P: Pixel, X: Pixel> From<[X; 2]> for LogicalSize<P>

impl<P: Pixel, X: Pixel> From<(X, X)> for PhysicalSize<P>

impl<P: Pixel, X: Pixel> From<[X; 2]> for PhysicalSize<P>

impl<P: Pixel> From<PhysicalSize<P>> for Size

impl<P: Pixel> From<LogicalSize<P>> for Size

impl<P: Pixel> From<PhysicalPosition<P>> for Position

impl<P: Pixel> From<LogicalPosition<P>> for Position

impl From<ModifiersState> for ModifiersState

impl From<OpenError> for XNotSupported

impl From<XAnyEvent> for XEvent

impl<'a> From<&'a XAnyEvent> for XEvent

impl From<XEvent> for XAnyEvent

impl<'a> From<&'a XEvent> for XAnyEvent

impl From<XButtonEvent> for XEvent

impl<'a> From<&'a XButtonEvent> for XEvent

impl From<XEvent> for XButtonEvent

impl<'a> From<&'a XEvent> for XButtonEvent

impl From<XCirculateEvent> for XEvent

impl<'a> From<&'a XCirculateEvent> for XEvent

impl From<XEvent> for XCirculateEvent

impl<'a> From<&'a XEvent> for XCirculateEvent

impl From<XCirculateRequestEvent> for XEvent

impl<'a> From<&'a XCirculateRequestEvent> for XEvent

impl From<XEvent> for XCirculateRequestEvent

impl<'a> From<&'a XEvent> for XCirculateRequestEvent

impl From<XClientMessageEvent> for XEvent

impl<'a> From<&'a XClientMessageEvent> for XEvent

impl From<XEvent> for XClientMessageEvent

impl<'a> From<&'a XEvent> for XClientMessageEvent

impl From<XColormapEvent> for XEvent

impl<'a> From<&'a XColormapEvent> for XEvent

impl From<XEvent> for XColormapEvent

impl<'a> From<&'a XEvent> for XColormapEvent

impl From<XConfigureEvent> for XEvent

impl<'a> From<&'a XConfigureEvent> for XEvent

impl From<XEvent> for XConfigureEvent

impl<'a> From<&'a XEvent> for XConfigureEvent

impl From<XConfigureRequestEvent> for XEvent

impl<'a> From<&'a XConfigureRequestEvent> for XEvent

impl From<XEvent> for XConfigureRequestEvent

impl<'a> From<&'a XEvent> for XConfigureRequestEvent

impl From<XCreateWindowEvent> for XEvent

impl<'a> From<&'a XCreateWindowEvent> for XEvent

impl From<XEvent> for XCreateWindowEvent

impl<'a> From<&'a XEvent> for XCreateWindowEvent

impl From<XCrossingEvent> for XEvent

impl<'a> From<&'a XCrossingEvent> for XEvent

impl From<XEvent> for XCrossingEvent

impl<'a> From<&'a XEvent> for XCrossingEvent

impl From<XDestroyWindowEvent> for XEvent

impl<'a> From<&'a XDestroyWindowEvent> for XEvent

impl From<XEvent> for XDestroyWindowEvent

impl<'a> From<&'a XEvent> for XDestroyWindowEvent

impl From<XErrorEvent> for XEvent

impl<'a> From<&'a XErrorEvent> for XEvent

impl From<XEvent> for XErrorEvent

impl<'a> From<&'a XEvent> for XErrorEvent

impl From<XExposeEvent> for XEvent

impl<'a> From<&'a XExposeEvent> for XEvent

impl From<XEvent> for XExposeEvent

impl<'a> From<&'a XEvent> for XExposeEvent

impl From<XFocusChangeEvent> for XEvent

impl<'a> From<&'a XFocusChangeEvent> for XEvent

impl From<XEvent> for XFocusChangeEvent

impl<'a> From<&'a XEvent> for XFocusChangeEvent

impl From<XGenericEventCookie> for XEvent

impl<'a> From<&'a XGenericEventCookie> for XEvent

impl From<XEvent> for XGenericEventCookie

impl<'a> From<&'a XEvent> for XGenericEventCookie

impl From<XGraphicsExposeEvent> for XEvent

impl<'a> From<&'a XGraphicsExposeEvent> for XEvent

impl From<XEvent> for XGraphicsExposeEvent

impl<'a> From<&'a XEvent> for XGraphicsExposeEvent

impl From<XGravityEvent> for XEvent

impl<'a> From<&'a XGravityEvent> for XEvent

impl From<XEvent> for XGravityEvent

impl<'a> From<&'a XEvent> for XGravityEvent

impl From<XKeyEvent> for XEvent

impl<'a> From<&'a XKeyEvent> for XEvent

impl From<XEvent> for XKeyEvent

impl<'a> From<&'a XEvent> for XKeyEvent

impl From<XKeymapEvent> for XEvent

impl<'a> From<&'a XKeymapEvent> for XEvent

impl From<XEvent> for XKeymapEvent

impl<'a> From<&'a XEvent> for XKeymapEvent

impl From<XMapEvent> for XEvent

impl<'a> From<&'a XMapEvent> for XEvent

impl From<XEvent> for XMapEvent

impl<'a> From<&'a XEvent> for XMapEvent

impl From<XMappingEvent> for XEvent

impl<'a> From<&'a XMappingEvent> for XEvent

impl From<XEvent> for XMappingEvent

impl<'a> From<&'a XEvent> for XMappingEvent

impl From<XMapRequestEvent> for XEvent

impl<'a> From<&'a XMapRequestEvent> for XEvent

impl From<XEvent> for XMapRequestEvent

impl<'a> From<&'a XEvent> for XMapRequestEvent

impl From<XMotionEvent> for XEvent

impl<'a> From<&'a XMotionEvent> for XEvent

impl From<XEvent> for XMotionEvent

impl<'a> From<&'a XEvent> for XMotionEvent

impl From<XNoExposeEvent> for XEvent

impl<'a> From<&'a XNoExposeEvent> for XEvent

impl From<XEvent> for XNoExposeEvent

impl<'a> From<&'a XEvent> for XNoExposeEvent

impl From<XPropertyEvent> for XEvent

impl<'a> From<&'a XPropertyEvent> for XEvent

impl From<XEvent> for XPropertyEvent

impl<'a> From<&'a XEvent> for XPropertyEvent

impl From<XReparentEvent> for XEvent

impl<'a> From<&'a XReparentEvent> for XEvent

impl From<XEvent> for XReparentEvent

impl<'a> From<&'a XEvent> for XReparentEvent

impl From<XResizeRequestEvent> for XEvent

impl<'a> From<&'a XResizeRequestEvent> for XEvent

impl From<XEvent> for XResizeRequestEvent

impl<'a> From<&'a XEvent> for XResizeRequestEvent

impl From<XSelectionClearEvent> for XEvent

impl<'a> From<&'a XSelectionClearEvent> for XEvent

impl From<XEvent> for XSelectionClearEvent

impl<'a> From<&'a XEvent> for XSelectionClearEvent

impl From<XSelectionEvent> for XEvent

impl<'a> From<&'a XSelectionEvent> for XEvent

impl From<XEvent> for XSelectionEvent

impl<'a> From<&'a XEvent> for XSelectionEvent

impl From<XSelectionRequestEvent> for XEvent

impl<'a> From<&'a XSelectionRequestEvent> for XEvent

impl From<XEvent> for XSelectionRequestEvent

impl<'a> From<&'a XEvent> for XSelectionRequestEvent

impl From<XUnmapEvent> for XEvent

impl<'a> From<&'a XUnmapEvent> for XEvent

impl From<XEvent> for XUnmapEvent

impl<'a> From<&'a XEvent> for XUnmapEvent

impl From<XVisibilityEvent> for XEvent

impl<'a> From<&'a XVisibilityEvent> for XEvent

impl From<XEvent> for XVisibilityEvent

impl<'a> From<&'a XEvent> for XVisibilityEvent

impl From<[i8; 20]> for ClientMessageData

impl From<[u8; 20]> for ClientMessageData

impl From<[i16; 10]> for ClientMessageData

impl From<[u16; 10]> for ClientMessageData

impl From<[i64; 5]> for ClientMessageData

impl From<[u64; 5]> for ClientMessageData

impl From<XF86VidModeNotifyEvent> for XEvent

impl<'a> From<&'a XF86VidModeNotifyEvent> for XEvent

impl From<XEvent> for XF86VidModeNotifyEvent

impl<'a> From<&'a XEvent> for XF86VidModeNotifyEvent

impl From<XScreenSaverNotifyEvent> for XEvent

impl<'a> From<&'a XScreenSaverNotifyEvent> for XEvent

impl From<XEvent> for XScreenSaverNotifyEvent

impl<'a> From<&'a XEvent> for XScreenSaverNotifyEvent

impl From<XRRScreenChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRRScreenChangeNotifyEvent> for XEvent

impl From<XEvent> for XRRScreenChangeNotifyEvent

impl<'a> From<&'a XEvent> for XRRScreenChangeNotifyEvent

impl From<XRRNotifyEvent> for XEvent

impl<'a> From<&'a XRRNotifyEvent> for XEvent

impl From<XEvent> for XRRNotifyEvent

impl<'a> From<&'a XEvent> for XRRNotifyEvent

impl From<XRROutputChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRROutputChangeNotifyEvent> for XEvent

impl From<XEvent> for XRROutputChangeNotifyEvent

impl<'a> From<&'a XEvent> for XRROutputChangeNotifyEvent

impl From<XRRCrtcChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRRCrtcChangeNotifyEvent> for XEvent

impl From<XEvent> for XRRCrtcChangeNotifyEvent

impl<'a> From<&'a XEvent> for XRRCrtcChangeNotifyEvent

impl From<XRROutputPropertyNotifyEvent> for XEvent

impl<'a> From<&'a XRROutputPropertyNotifyEvent> for XEvent

impl From<XEvent> for XRROutputPropertyNotifyEvent

impl<'a> From<&'a XEvent> for XRROutputPropertyNotifyEvent

impl From<XRRProviderChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRRProviderChangeNotifyEvent> for XEvent

impl From<XEvent> for XRRProviderChangeNotifyEvent

impl<'a> From<&'a XEvent> for XRRProviderChangeNotifyEvent

impl From<XRRProviderPropertyNotifyEvent> for XEvent

impl<'a> From<&'a XRRProviderPropertyNotifyEvent> for XEvent

impl From<XEvent> for XRRProviderPropertyNotifyEvent

impl<'a> From<&'a XEvent> for XRRProviderPropertyNotifyEvent

impl From<XRRResourceChangeNotifyEvent> for XEvent

impl<'a> From<&'a XRRResourceChangeNotifyEvent> for XEvent

impl From<XEvent> for XRRResourceChangeNotifyEvent

impl<'a> From<&'a XEvent> for XRRResourceChangeNotifyEvent

impl<'a> From<&'a str> for Name<'a>

impl<'a> From<(&'a str, &'a str)> for Name<'a>

impl<'a> From<Name<'a>> for OwnedName

impl<'a, P, M> From<(&'a P, M)> for Error where
    P: Position,
    M: Into<Cow<'static, str>>, 

impl From<Error> for Error

impl From<Error> for EmitterError

impl<'a> From<&'a str> for XmlEvent<'a>

impl<'a> From<EndElementBuilder<'a>> for XmlEvent<'a>

impl<'a> From<StartElementBuilder<'a>> for XmlEvent<'a>