Trait druid::piet::cairo::glib::bitflags::_core::convert::From

1.0.0 · source ·
pub trait From<T>: Sized {
    // Required method
    fn from(value: T) -> Self;
}
Expand description

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. The From trait is intended for perfect conversions. If the conversion can fail or is not perfect, use TryFrom.

Generic Implementations

  • From<T> for U implies Into<U> for T
  • From is reflexive, which means that From<T> for T is implemented

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§

source

fn from(value: T) -> Self

Converts to this type from the input type.

Implementors§

source§

impl From<&f32> for FluentValue<'_>

source§

impl From<&f32> for FluentNumber

source§

impl From<&f64> for FluentValue<'_>

source§

impl From<&f64> for FluentNumber

source§

impl From<&i8> for FluentValue<'_>

source§

impl From<&i8> for FluentNumber

source§

impl From<&i16> for FluentValue<'_>

source§

impl From<&i16> for FluentNumber

source§

impl From<&i32> for FluentValue<'_>

source§

impl From<&i32> for FluentNumber

source§

impl From<&i64> for FluentValue<'_>

source§

impl From<&i64> for FluentNumber

source§

impl From<&i128> for FluentValue<'_>

source§

impl From<&i128> for FluentNumber

source§

impl From<&isize> for FluentValue<'_>

source§

impl From<&isize> for FluentNumber

source§

impl From<&str> for FluentNumberCurrencyDisplayStyle

source§

impl From<&str> for FluentNumberStyle

source§

impl From<&str> for ClipboardFormat

§

impl From<&str> for GString

1.17.0 · source§

impl From<&str> for Box<str, Global>

1.6.0 · source§

impl From<&str> for Box<dyn Error + 'static, Global>

1.21.0 · source§

impl From<&str> for Rc<str>

source§

impl From<&str> for String

1.21.0 · source§

impl From<&str> for Arc<str>

source§

impl From<&str> for Vec<u8, Global>

§

impl From<&str> for ScriptExtension

source§

impl From<&u8> for FluentValue<'_>

source§

impl From<&u8> for FluentNumber

source§

impl From<&u16> for FluentValue<'_>

source§

impl From<&u16> for FluentNumber

source§

impl From<&u32> for FluentValue<'_>

source§

impl From<&u32> for FluentNumber

source§

impl From<&u64> for FluentValue<'_>

source§

impl From<&u64> for FluentNumber

source§

impl From<&u128> for FluentValue<'_>

source§

impl From<&u128> for FluentNumber

source§

impl From<&usize> for FluentValue<'_>

source§

impl From<&usize> for FluentNumber

§

impl From<&GStr> for GString

§

impl From<&CStr> for GString

1.17.0 · source§

impl From<&CStr> for Box<CStr, Global>

1.7.0 · source§

impl From<&CStr> for CString

1.24.0 · source§

impl From<&CStr> for Rc<CStr>

1.24.0 · source§

impl From<&CStr> for Arc<CStr>

1.35.0 · source§

impl From<&String> for String

source§

impl From<&StreamResult> for Result<MZStatus, MZError>

1.17.0 · source§

impl From<&OsStr> for Box<OsStr, Global>

1.24.0 · source§

impl From<&OsStr> for Rc<OsStr>

1.24.0 · source§

impl From<&OsStr> for Arc<OsStr>

§

impl From<&Path> for ImageFormatHint

1.17.0 · source§

impl From<&Path> for Box<Path, Global>

1.24.0 · source§

impl From<&Path> for Rc<Path>

1.24.0 · source§

impl From<&Path> for Arc<Path>

source§

impl From<&FluentNumber> for f32

source§

impl From<&FluentNumber> for f64

source§

impl From<&FluentNumber> for i8

source§

impl From<&FluentNumber> for i16

source§

impl From<&FluentNumber> for i32

source§

impl From<&FluentNumber> for i64

source§

impl From<&FluentNumber> for i128

source§

impl From<&FluentNumber> for isize

source§

impl From<&FluentNumber> for u8

source§

impl From<&FluentNumber> for u16

source§

impl From<&FluentNumber> for u32

source§

impl From<&FluentNumber> for u64

source§

impl From<&FluentNumber> for u128

source§

impl From<&FluentNumber> for usize

source§

impl From<&FluentNumber> for PluralOperands

§

impl From<&Language> for Option<u64>

§

impl From<&StreamResult> for Result<MZStatus, MZError>

§

impl From<&Variant> for u64

1.44.0 · source§

impl From<&mut str> for String

§

impl From<(f32, f32)> for Point

§

impl From<(f32, f32, f32)> for Rgb

§

impl From<(f32, i32)> for F32Margin

source§

impl From<(f64, f64)> for KeyOrValue<Insets>

§

impl From<(f64, f64)> for druid::Insets

§

impl From<(f64, f64)> for druid::Point

§

impl From<(f64, f64)> for druid::Size

§

impl From<(f64, f64)> for druid::Vec2

§

impl From<(f64, f64)> for Insets

§

impl From<(f64, f64)> for Point

§

impl From<(f64, f64)> for Size

§

impl From<(f64, f64)> for Vec2

source§

impl From<(f64, f64, f64, f64)> for KeyOrValue<Insets>

source§

impl From<(f64, f64, f64, f64)> for KeyOrValue<RoundedRectRadii>

§

impl From<(f64, f64, f64, f64)> for druid::Insets

§

impl From<(f64, f64, f64, f64)> for druid::RoundedRectRadii

§

impl From<(f64, f64, f64, f64)> for Insets

§

impl From<(f64, f64, f64, f64)> for RoundedRectRadii

§

impl From<(f64, i64)> for F64Margin

§

impl From<(u8, u8, u8)> for Rgb

§

impl From<(Point, Point)> for druid::Rect

§

impl From<(Point, Size)> for druid::Rect

§

impl From<(Point, Point)> for Rect

§

impl From<(Point, Size)> for Rect

§

impl From<(PropertyTarget, PropertyKind)> for Value

source§

impl From<Color> for druid::Value

§

impl From<Color> for PaintBrush

source§

impl From<RawMods> for Modifiers

source§

impl From<SysMods> for RawMods

source§

impl From<SysMods> for Option<RawMods>

§

impl From<FixedGradient> for PaintBrush

§

impl From<FontStyle> for TextAttribute

§

impl From<ColorType> for ExtendedColorType

§

impl From<ImageFormat> for ImageOutputFormat

§

impl From<ImageFormat> for ImageFormatHint

§

impl From<ImageFormatHint> for UnsupportedError

§

impl From<Error> for ImageError

§

impl From<Error> for BorrowError

§

impl From<Error> for IoError

§

impl From<IpAddr> for InetAddress

§

impl From<SocketAddr> for InetSocketAddress

source§

impl From<Option<Level>> for LevelFilter

§

impl From<Infallible> for InvalidCharError

§

impl From<Infallible> for druid::piet::cairo::glib::Error

§

impl From<Infallible> for ValueTypeMismatchError

1.36.0 (const: unstable) · source§

impl From<Infallible> for TryFromSliceError

1.34.0 (const: unstable) · source§

impl From<Infallible> for TryFromIntError

1.45.0 · source§

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

1.45.0 · source§

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

1.45.0 · source§

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

1.45.0 · source§

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

source§

impl From<TryReserveErrorKind> for TryReserveError

source§

impl From<VarError> for FromEnvError

1.14.0 · source§

impl From<ErrorKind> for std::io::error::Error

Intended for use for errors not exposed to the user, where allocating onto the heap (for normal construction via Error::new) is too costly.

source§

impl From<bool> for Handled

source§

impl From<bool> for druid::Value

1.68.0 (const: unstable) · source§

impl From<bool> for f32

1.68.0 (const: unstable) · source§

impl From<bool> for f64

1.28.0 (const: unstable) · source§

impl From<bool> for i8

1.28.0 (const: unstable) · source§

impl From<bool> for i16

1.28.0 (const: unstable) · source§

impl From<bool> for i32

1.28.0 (const: unstable) · source§

impl From<bool> for i64

1.28.0 (const: unstable) · source§

impl From<bool> for i128

1.28.0 (const: unstable) · source§

impl From<bool> for isize

1.28.0 (const: unstable) · source§

impl From<bool> for u8

1.28.0 (const: unstable) · source§

impl From<bool> for u16

1.28.0 (const: unstable) · source§

impl From<bool> for u32

1.28.0 (const: unstable) · source§

impl From<bool> for u64

1.28.0 (const: unstable) · source§

impl From<bool> for u128

1.28.0 (const: unstable) · source§

impl From<bool> for usize

§

impl From<bool> for cairo_bool_t

1.24.0 (const: unstable) · source§

impl From<bool> for AtomicBool

§

impl From<bool> for Value

1.13.0 (const: unstable) · source§

impl From<char> for u32

1.51.0 (const: unstable) · source§

impl From<char> for u64

1.51.0 (const: unstable) · source§

impl From<char> for u128

1.46.0 · source§

impl From<char> for String

§

impl From<char> for Script

§

impl From<char> for ScriptExtension

source§

impl From<f32> for FluentValue<'_>

1.6.0 (const: unstable) · source§

impl From<f32> for f64

source§

impl From<f32> for FluentNumber

§

impl From<f32> for NormalizedCoordinate

source§

impl From<f64> for KeyOrValue<Insets>

source§

impl From<f64> for KeyOrValue<RoundedRectRadii>

source§

impl From<f64> for druid::Value

source§

impl From<f64> for FluentValue<'_>

§

impl From<f64> for druid::Insets

§

impl From<f64> for druid::RoundedRectRadii

source§

impl From<f64> for FlexParams

source§

impl From<f64> for FluentNumber

source§

impl From<f64> for StrokeMiterlimit

§

impl From<f64> for Insets

§

impl From<f64> for RoundedRectRadii

§

impl From<f64> for Value

source§

impl From<i8> for FluentValue<'_>

1.6.0 (const: unstable) · source§

impl From<i8> for f32

1.6.0 (const: unstable) · source§

impl From<i8> for f64

1.5.0 (const: unstable) · source§

impl From<i8> for i16

1.5.0 (const: unstable) · source§

impl From<i8> for i32

1.5.0 (const: unstable) · source§

impl From<i8> for i64

1.26.0 (const: unstable) · source§

impl From<i8> for i128

1.5.0 (const: unstable) · source§

impl From<i8> for isize

1.34.0 (const: unstable) · source§

impl From<i8> for AtomicI8

source§

impl From<i8> for FluentNumber

source§

impl From<i16> for FluentValue<'_>

1.6.0 (const: unstable) · source§

impl From<i16> for f32

1.6.0 (const: unstable) · source§

impl From<i16> for f64

1.5.0 (const: unstable) · source§

impl From<i16> for i32

1.5.0 (const: unstable) · source§

impl From<i16> for i64

1.26.0 (const: unstable) · source§

impl From<i16> for i128

1.26.0 (const: unstable) · source§

impl From<i16> for isize

1.34.0 (const: unstable) · source§

impl From<i16> for AtomicI16

source§

impl From<i16> for FluentNumber

§

impl From<i16> for NormalizedCoordinate

source§

impl From<i32> for FluentValue<'_>

1.6.0 (const: unstable) · source§

impl From<i32> for f64

1.5.0 (const: unstable) · source§

impl From<i32> for i64

1.26.0 (const: unstable) · source§

impl From<i32> for i128

§

impl From<i32> for Handle

1.34.0 (const: unstable) · source§

impl From<i32> for AtomicI32

source§

impl From<i32> for FluentNumber

§

impl From<i32> for IconSize

§

impl From<i32> for ResponseType

source§

impl From<i64> for FluentValue<'_>

1.26.0 (const: unstable) · source§

impl From<i64> for i128

§

impl From<i64> for ILong

1.34.0 (const: unstable) · source§

impl From<i64> for AtomicI64

source§

impl From<i64> for FluentNumber

source§

impl From<i128> for FluentValue<'_>

source§

impl From<i128> for FluentNumber

source§

impl From<isize> for FluentValue<'_>

1.23.0 (const: unstable) · source§

impl From<isize> for AtomicIsize

source§

impl From<isize> for FluentNumber

1.34.0 (const: unstable) · source§

impl From<!> for Infallible

source§

impl From<!> for TryFromIntError

source§

impl From<u8> for FluentValue<'_>

1.13.0 (const: unstable) · source§

impl From<u8> for char

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.

1.6.0 (const: unstable) · source§

impl From<u8> for f32

1.6.0 (const: unstable) · source§

impl From<u8> for f64

1.5.0 (const: unstable) · source§

impl From<u8> for i16

1.5.0 (const: unstable) · source§

impl From<u8> for i32

1.5.0 (const: unstable) · source§

impl From<u8> for i64

1.26.0 (const: unstable) · source§

impl From<u8> for i128

1.26.0 (const: unstable) · source§

impl From<u8> for isize

1.5.0 (const: unstable) · source§

impl From<u8> for u16

1.5.0 (const: unstable) · source§

impl From<u8> for u32

1.5.0 (const: unstable) · source§

impl From<u8> for u64

1.26.0 (const: unstable) · source§

impl From<u8> for u128

1.5.0 (const: unstable) · source§

impl From<u8> for usize

§

impl From<u8> for Char

§

impl From<u8> for UChar

1.34.0 (const: unstable) · source§

impl From<u8> for AtomicU8

1.61.0 · source§

impl From<u8> for ExitCode

source§

impl From<u8> for FluentNumber

§

impl From<u8> for Level

§

impl From<u8> for Level

§

impl From<u8> for PluralOperands

source§

impl From<u16> for FluentValue<'_>

1.6.0 (const: unstable) · source§

impl From<u16> for f32

1.6.0 (const: unstable) · source§

impl From<u16> for f64

1.5.0 (const: unstable) · source§

impl From<u16> for i32

1.5.0 (const: unstable) · source§

impl From<u16> for i64

1.26.0 (const: unstable) · source§

impl From<u16> for i128

1.5.0 (const: unstable) · source§

impl From<u16> for u32

1.5.0 (const: unstable) · source§

impl From<u16> for u64

1.26.0 (const: unstable) · source§

impl From<u16> for u128

1.26.0 (const: unstable) · source§

impl From<u16> for usize

1.34.0 (const: unstable) · source§

impl From<u16> for AtomicU16

source§

impl From<u16> for FluentNumber

§

impl From<u16> for PluralOperands

§

impl From<u16> for Weight

source§

impl From<u32> for FluentValue<'_>

1.6.0 (const: unstable) · source§

impl From<u32> for f64

1.5.0 (const: unstable) · source§

impl From<u32> for i64

1.26.0 (const: unstable) · source§

impl From<u32> for i128

1.5.0 (const: unstable) · source§

impl From<u32> for u64

1.26.0 (const: unstable) · source§

impl From<u32> for u128

1.1.0 · source§

impl From<u32> for Ipv4Addr

1.34.0 (const: unstable) · source§

impl From<u32> for AtomicU32

source§

impl From<u32> for FluentNumber

§

impl From<u32> for Key

§

impl From<u32> for NodeId

§

impl From<u32> for NodeId

§

impl From<u32> for PluralOperands

§

impl From<u32> for Value

source§

impl From<u64> for druid::Value

source§

impl From<u64> for FluentValue<'_>

1.26.0 (const: unstable) · source§

impl From<u64> for i128

1.26.0 (const: unstable) · source§

impl From<u64> for u128

§

impl From<u64> for ULong

1.34.0 (const: unstable) · source§

impl From<u64> for AtomicU64

source§

impl From<u64> for FluentNumber

§

impl From<u64> for PluralOperands

source§

impl From<u128> for FluentValue<'_>

1.26.0 · source§

impl From<u128> for Ipv6Addr

source§

impl From<u128> for FluentNumber

§

impl From<u128> for Hash128

source§

impl From<usize> for FluentValue<'_>

1.23.0 (const: unstable) · source§

impl From<usize> for AtomicUsize

source§

impl From<usize> for FluentNumber

§

impl From<usize> for NodeId

§

impl From<usize> for NodeId

§

impl From<usize> for PluralOperands

source§

impl From<Insets> for druid::Value

§

impl From<LinearGradient> for PaintBrush

§

impl From<Point> for (f64, f64)

source§

impl From<Point> for druid::Value

§

impl From<RadialGradient> for PaintBrush

source§

impl From<Rect> for druid::Value

source§

impl From<Rect> for Region

source§

impl From<RoundedRectRadii> for druid::Value

source§

impl From<Selector<()>> for Command

§

impl From<Size> for (f64, f64)

source§

impl From<Size> for druid::Value

§

impl From<Vec2> for (f64, f64)

source§

impl From<WindowId> for Target

source§

impl From<WindowId> for Option<Target>

source§

impl From<FontDescriptor> for druid::Value

source§

impl From<WidgetId> for Target

source§

impl From<WidgetId> for Option<Target>

source§

impl From<SvgData> for Arc<Tree>

Available on crate feature svg only.
§

impl From<Delay> for Duration

§

impl From<ImageBuffer<Luma<f32>, Vec<f32, Global>>> for DynamicImage

§

impl From<ImageBuffer<Luma<u8>, Vec<u8, Global>>> for DynamicImage

§

impl From<ImageBuffer<Luma<u16>, Vec<u16, Global>>> for DynamicImage

§

impl From<ImageBuffer<LumaA<f32>, Vec<f32, Global>>> for DynamicImage

§

impl From<ImageBuffer<LumaA<u8>, Vec<u8, Global>>> for DynamicImage

§

impl From<ImageBuffer<LumaA<u16>, Vec<u16, Global>>> for DynamicImage

§

impl From<ImageBuffer<Rgb<f32>, Vec<f32, Global>>> for DynamicImage

§

impl From<ImageBuffer<Rgb<u8>, Vec<u8, Global>>> for DynamicImage

§

impl From<ImageBuffer<Rgb<u16>, Vec<u16, Global>>> for DynamicImage

§

impl From<ImageBuffer<Rgba<f32>, Vec<f32, Global>>> for DynamicImage

§

impl From<ImageBuffer<Rgba<u8>, Vec<u8, Global>>> for DynamicImage

§

impl From<ImageBuffer<Rgba<u16>, Vec<u16, Global>>> for DynamicImage

§

impl From<Circle> for druid::piet::kurbo::Ellipse

§

impl From<CubicBez> for druid::piet::kurbo::PathSeg

§

impl From<Line> for druid::piet::kurbo::PathSeg

§

impl From<QuadBez> for druid::piet::kurbo::PathSeg

§

impl From<TranslateScale> for druid::Affine

§

impl From<FixedLinearGradient> for FixedGradient

§

impl From<FixedLinearGradient> for PaintBrush

§

impl From<FixedRadialGradient> for FixedGradient

§

impl From<FixedRadialGradient> for PaintBrush

§

impl From<FontFamily> for TextAttribute

§

impl From<FontWeight> for TextAttribute

§

impl From<RectangleInt> for Rectangle

§

impl From<Char> for char

§

impl From<Char> for u8

§

impl From<Error> for CvtError

§

impl From<GString> for Box<str, Global>

§

impl From<GString> for String

§

impl From<ILong> for i64

§

impl From<RustClosure> for Closure

§

impl From<SendValue> for druid::piet::cairo::glib::Value

§

impl From<Type> for SignalType

§

impl From<UChar> for char

§

impl From<UChar> for u8

§

impl From<ULong> for u64

§

impl From<Variant> for VariantDict

§

impl From<SignalType> for Type

§

impl From<ValueTypeMismatchError> for InvalidCharError

§

impl From<Handle> for i32

§

impl From<ObjectPath> for String

§

impl From<Signature> for String

source§

impl From<LayoutError> for TryReserveErrorKind

§

impl From<LayoutError> for CollectionAllocErr

source§

impl From<__m128> for Simd<f32, 4>

source§

impl From<__m128d> for Simd<f64, 2>

source§

impl From<__m128i> for Simd<i8, 16>

source§

impl From<__m128i> for Simd<i16, 8>

source§

impl From<__m128i> for Simd<i32, 4>

source§

impl From<__m128i> for Simd<i64, 2>

source§

impl From<__m128i> for Simd<isize, 2>

source§

impl From<__m128i> for Simd<u8, 16>

source§

impl From<__m128i> for Simd<u16, 8>

source§

impl From<__m128i> for Simd<u32, 4>

source§

impl From<__m128i> for Simd<u64, 2>

source§

impl From<__m128i> for Simd<usize, 2>

§

impl From<__m128i> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

source§

impl From<__m256> for Simd<f32, 8>

source§

impl From<__m256d> for Simd<f64, 4>

source§

impl From<__m256i> for Simd<i8, 32>

source§

impl From<__m256i> for Simd<i16, 16>

source§

impl From<__m256i> for Simd<i32, 8>

source§

impl From<__m256i> for Simd<i64, 4>

source§

impl From<__m256i> for Simd<isize, 4>

source§

impl From<__m256i> for Simd<u8, 32>

source§

impl From<__m256i> for Simd<u16, 16>

source§

impl From<__m256i> for Simd<u32, 8>

source§

impl From<__m256i> for Simd<u64, 4>

source§

impl From<__m256i> for Simd<usize, 4>

§

impl From<__m256i> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

source§

impl From<__m512> for Simd<f32, 16>

source§

impl From<__m512d> for Simd<f64, 8>

source§

impl From<__m512i> for Simd<i8, 64>

source§

impl From<__m512i> for Simd<i16, 32>

source§

impl From<__m512i> for Simd<i32, 16>

source§

impl From<__m512i> for Simd<i64, 8>

source§

impl From<__m512i> for Simd<isize, 8>

source§

impl From<__m512i> for Simd<u8, 64>

source§

impl From<__m512i> for Simd<u16, 32>

source§

impl From<__m512i> for Simd<u32, 16>

source§

impl From<__m512i> for Simd<u64, 8>

source§

impl From<__m512i> for Simd<usize, 8>

1.16.0 · source§

impl From<Ipv4Addr> for IpAddr

1.1.0 · source§

impl From<Ipv4Addr> for u32

1.16.0 · source§

impl From<Ipv6Addr> for IpAddr

1.26.0 · source§

impl From<Ipv6Addr> for u128

1.16.0 · source§

impl From<SocketAddrV4> for SocketAddr

1.16.0 · source§

impl From<SocketAddrV6> for SocketAddr

1.31.0 (const: unstable) · source§

impl From<NonZeroI8> for i8

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroI16

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroI32

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroI8> for NonZeroIsize

1.31.0 (const: unstable) · source§

impl From<NonZeroI16> for i16

1.41.0 (const: unstable) · source§

impl From<NonZeroI16> for NonZeroI32

1.41.0 (const: unstable) · source§

impl From<NonZeroI16> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroI16> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroI16> for NonZeroIsize

1.31.0 (const: unstable) · source§

impl From<NonZeroI32> for i32

1.41.0 (const: unstable) · source§

impl From<NonZeroI32> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroI32> for NonZeroI128

1.31.0 (const: unstable) · source§

impl From<NonZeroI64> for i64

1.41.0 (const: unstable) · source§

impl From<NonZeroI64> for NonZeroI128

1.31.0 (const: unstable) · source§

impl From<NonZeroI128> for i128

1.31.0 (const: unstable) · source§

impl From<NonZeroIsize> for isize

1.31.0 (const: unstable) · source§

impl From<NonZeroU8> for u8

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroI16

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroI32

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroIsize

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroU16

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroU32

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroU64

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroU128

1.41.0 (const: unstable) · source§

impl From<NonZeroU8> for NonZeroUsize

1.31.0 (const: unstable) · source§

impl From<NonZeroU16> for u16

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroI32

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroU32

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroU64

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroU128

1.41.0 (const: unstable) · source§

impl From<NonZeroU16> for NonZeroUsize

1.31.0 (const: unstable) · source§

impl From<NonZeroU32> for u32

1.41.0 (const: unstable) · source§

impl From<NonZeroU32> for NonZeroI64

1.41.0 (const: unstable) · source§

impl From<NonZeroU32> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroU32> for NonZeroU64

1.41.0 (const: unstable) · source§

impl From<NonZeroU32> for NonZeroU128

source§

impl From<NonZeroU32> for rand_core::error::Error

1.31.0 (const: unstable) · source§

impl From<NonZeroU64> for u64

1.41.0 (const: unstable) · source§

impl From<NonZeroU64> for NonZeroI128

1.41.0 (const: unstable) · source§

impl From<NonZeroU64> for NonZeroU128

1.31.0 (const: unstable) · source§

impl From<NonZeroU128> for u128

1.31.0 (const: unstable) · source§

impl From<NonZeroUsize> for usize

§

impl From<ParseFloatError> for Error

§

impl From<ParseIntError> for Error

source§

impl From<Alignment> for usize

source§

impl From<Alignment> for NonZeroUsize

source§

impl From<Simd<f32, 4>> for __m128

source§

impl From<Simd<f32, 8>> for __m256

source§

impl From<Simd<f32, 16>> for __m512

source§

impl From<Simd<f64, 2>> for __m128d

source§

impl From<Simd<f64, 4>> for __m256d

source§

impl From<Simd<f64, 8>> for __m512d

source§

impl From<Simd<i8, 16>> for __m128i

source§

impl From<Simd<i8, 32>> for __m256i

source§

impl From<Simd<i8, 64>> for __m512i

source§

impl From<Simd<i16, 8>> for __m128i

source§

impl From<Simd<i16, 16>> for __m256i

source§

impl From<Simd<i16, 32>> for __m512i

source§

impl From<Simd<i32, 4>> for __m128i

source§

impl From<Simd<i32, 8>> for __m256i

source§

impl From<Simd<i32, 16>> for __m512i

source§

impl From<Simd<i64, 2>> for __m128i

source§

impl From<Simd<i64, 4>> for __m256i

source§

impl From<Simd<i64, 8>> for __m512i

source§

impl From<Simd<isize, 2>> for __m128i

source§

impl From<Simd<isize, 4>> for __m256i

source§

impl From<Simd<isize, 8>> for __m512i

source§

impl From<Simd<u8, 16>> for __m128i

source§

impl From<Simd<u8, 32>> for __m256i

source§

impl From<Simd<u8, 64>> for __m512i

source§

impl From<Simd<u16, 8>> for __m128i

source§

impl From<Simd<u16, 16>> for __m256i

source§

impl From<Simd<u16, 32>> for __m512i

source§

impl From<Simd<u32, 4>> for __m128i

source§

impl From<Simd<u32, 8>> for __m256i

source§

impl From<Simd<u32, 16>> for __m512i

source§

impl From<Simd<u64, 2>> for __m128i

source§

impl From<Simd<u64, 4>> for __m256i

source§

impl From<Simd<u64, 8>> for __m512i

source§

impl From<Simd<usize, 2>> for __m128i

source§

impl From<Simd<usize, 4>> for __m256i

source§

impl From<Simd<usize, 8>> for __m512i

§

impl From<ParseBoolError> for Error

§

impl From<Box<str, Global>> for GString

1.18.0 · source§

impl From<Box<str, Global>> for String

1.18.0 · source§

impl From<Box<CStr, Global>> for CString

1.18.0 · source§

impl From<Box<OsStr, Global>> for OsString

1.18.0 · source§

impl From<Box<Path, Global>> for PathBuf

§

impl From<Box<dyn Error + 'static, Global>> for druid::piet::Error

source§

impl From<Box<dyn Error + Sync + Send + 'static, Global>> for ParseError

§

impl From<CString> for GString

1.20.0 · source§

impl From<CString> for Box<CStr, Global>

1.24.0 · source§

impl From<CString> for Rc<CStr>

1.24.0 · source§

impl From<CString> for Arc<CStr>

1.7.0 · source§

impl From<CString> for Vec<u8, Global>

source§

impl From<NulError> for std::io::error::Error

1.62.0 · source§

impl From<Rc<str>> for Rc<[u8]>

source§

impl From<String> for ClipboardFormat

§

impl From<String> for GString

1.20.0 · source§

impl From<String> for Box<str, Global>

1.6.0 · source§

impl From<String> for Box<dyn Error + 'static, Global>

source§

impl From<String> for Box<dyn Error + Sync + Send + 'static, Global>

1.21.0 · source§

impl From<String> for Rc<str>

1.21.0 · source§

impl From<String> for Arc<str>

1.14.0 · source§

impl From<String> for Vec<u8, Global>

source§

impl From<String> for OsString

source§

impl From<String> for PathBuf

§

impl From<String> for Value

source§

impl From<Arc<str>> for druid::Value

1.62.0 · source§

impl From<Arc<str>> for Arc<[u8]>

§

impl From<Vec<u8, Global>> for GString

1.43.0 · source§

impl From<Vec<NonZeroU8, Global>> for CString

§

impl From<Vec<IntOrRange, Global>> for Value

source§

impl From<StreamResult> for Result<MZStatus, MZError>

1.20.0 · source§

impl From<OsString> for Box<OsStr, Global>

1.24.0 · source§

impl From<OsString> for Rc<OsStr>

1.24.0 · source§

impl From<OsString> for Arc<OsStr>

source§

impl From<OsString> for PathBuf

1.63.0 · source§

impl From<File> for OwnedFd

1.20.0 · source§

impl From<File> for Stdio

§

impl From<Error> for ImageError

§

impl From<Error> for IoError

§

impl From<Error> for IConvError

§

impl From<Error> for DecodingError

§

impl From<Error> for DecodingError

§

impl From<Error> for EncodingError

§

impl From<Error> for EncodingError

§

impl From<Error> for Error

§

impl From<Error> for Error

1.63.0 · source§

impl From<TcpListener> for OwnedFd

1.63.0 · source§

impl From<TcpStream> for OwnedFd

1.63.0 · source§

impl From<UdpSocket> for OwnedFd

1.63.0 · source§

impl From<OwnedFd> for File

1.63.0 · source§

impl From<OwnedFd> for TcpListener

1.63.0 · source§

impl From<OwnedFd> for TcpStream

1.63.0 · source§

impl From<OwnedFd> for UdpSocket

source§

impl From<OwnedFd> for PidFd

1.63.0 · source§

impl From<OwnedFd> for UnixDatagram

1.63.0 · source§

impl From<OwnedFd> for UnixListener

1.63.0 · source§

impl From<OwnedFd> for UnixStream

1.63.0 · source§

impl From<OwnedFd> for Stdio

source§

impl From<PidFd> for OwnedFd

1.63.0 · source§

impl From<UnixDatagram> for OwnedFd

1.63.0 · source§

impl From<UnixListener> for OwnedFd

1.63.0 · source§

impl From<UnixStream> for OwnedFd

1.20.0 · source§

impl From<PathBuf> for Box<Path, Global>

1.24.0 · source§

impl From<PathBuf> for Rc<Path>

1.24.0 · source§

impl From<PathBuf> for Arc<Path>

1.14.0 · source§

impl From<PathBuf> for OsString

1.63.0 · source§

impl From<ChildStderr> for OwnedFd

1.20.0 · source§

impl From<ChildStderr> for Stdio

1.63.0 · source§

impl From<ChildStdin> for OwnedFd

1.20.0 · source§

impl From<ChildStdin> for Stdio

1.63.0 · source§

impl From<ChildStdout> for OwnedFd

1.20.0 · source§

impl From<ChildStdout> for Stdio

1.24.0 · source§

impl From<RecvError> for RecvTimeoutError

1.24.0 · source§

impl From<RecvError> for TryRecvError

source§

impl From<Instant> for Uptime

source§

impl From<Error> for druid::PlatformError

source§

impl From<Error> for Box<dyn Error + 'static, Global>

source§

impl From<Error> for Box<dyn Error + Send + 'static, Global>

source§

impl From<Error> for Box<dyn Error + Sync + Send + 'static, Global>

source§

impl From<MouseEvent> for MouseEvent

source§

impl From<CompressError> for std::io::error::Error

source§

impl From<DecompressError> for std::io::error::Error

source§

impl From<FluentNumber> for f32

source§

impl From<FluentNumber> for f64

source§

impl From<FluentNumber> for i8

source§

impl From<FluentNumber> for i16

source§

impl From<FluentNumber> for i32

source§

impl From<FluentNumber> for i64

source§

impl From<FluentNumber> for i128

source§

impl From<FluentNumber> for isize

source§

impl From<FluentNumber> for u8

source§

impl From<FluentNumber> for u16

source§

impl From<FluentNumber> for u32

source§

impl From<FluentNumber> for u64

source§

impl From<FluentNumber> for u128

source§

impl From<FluentNumber> for usize

source§

impl From<ParserError> for FluentError

source§

impl From<Level> for LevelFilter

source§

impl From<Level> for Directive

source§

impl From<LevelFilter> for Option<Level>

source§

impl From<LevelFilter> for Directive

source§

impl From<ParseLevelFilterError> for ParseError

source§

impl From<Current> for Option<Id>

source§

impl From<ParseError> for FromEnvError

source§

impl From<Span> for Option<Id>

§

impl From<Alias> for ConfigPart

§

impl From<ArgumentList> for Vec<OsString, Global>

§

impl From<AttrColor> for Attribute

§

impl From<AttrFloat> for Attribute

§

impl From<AttrFontDesc> for Attribute

§

impl From<AttrFontFeatures> for Attribute

§

impl From<AttrInt> for Attribute

§

impl From<AttrLanguage> for Attribute

§

impl From<AttrShape> for Attribute

§

impl From<AttrSize> for Attribute

§

impl From<AttrString> for Attribute

§

impl From<BidiControl> for bool

§

impl From<BidiMirrored> for bool

§

impl From<CacheDir> for ConfigPart

§

impl From<Cancelled> for druid::piet::cairo::glib::Error

§

impl From<CharIter> for CharRange

§

impl From<CharRange> for CharIter

§

impl From<Circle> for Ellipse

source§

impl From<Clipboard> for Clipboard

§

impl From<Color> for Style

§

impl From<Config> for ConfigPart

§

impl From<Constant> for Value

§

impl From<CubicBez> for PathSeg

§

impl From<DecodeError<Impossible>> for InvalidBase64

§

impl From<DecodingError> for std::io::error::Error

§

impl From<DecodingFormatError> for DecodingError

§

impl From<Dir> for ConfigPart

§

impl From<EncodingError> for std::io::error::Error

§

impl From<EncodingFormatError> for EncodingError

source§

impl From<Error> for druid::PlatformError

source§

impl From<Error> for usvg::error::Error

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for FilterValueListParserError

§

impl From<Extension> for AnyExtension

§

impl From<FormatError> for DecodingError

§

impl From<FormatErrorKind> for EncodingError

§

impl From<Hash128> for u128

§

impl From<IOErrorEnum> for ErrorKind

§

impl From<IconSize> for i32

§

impl From<Include> for ConfigPart

§

impl From<InetAddress> for IpAddr

§

impl From<InetSocketAddress> for SocketAddr

§

impl From<Language> for Option<u64>

§

impl From<Line> for PathSeg

§

impl From<MZFlush> for TDEFLFlush

§

impl From<Match> for ConfigPart

§

impl From<Mmap> for MmapRaw

§

impl From<MmapMut> for MmapRaw

§

impl From<ParameterErrorKind> for ParameterError

§

impl From<ParserError> for LanguageIdentifierError

§

impl From<PodCastError> for CheckedCastError

§

impl From<Point> for (f64, f64)

§

impl From<QuadBez> for PathSeg

§

impl From<RGB<f32>> for RGB<f64>

§

impl From<RGB<i16>> for RGB<f32>

§

impl From<RGB<i16>> for RGB<f64>

§

impl From<RGB<i32>> for RGB<f64>

§

impl From<RGB<u8>> for RGB<f32>

§

impl From<RGB<u8>> for RGB<f64>

§

impl From<RGB<u8>> for RGB<i16>

§

impl From<RGB<u8>> for RGB<u16>

§

impl From<RGB<u8>> for RGB<u32>

§

impl From<RGB<u16>> for RGB<f32>

§

impl From<RGB<u16>> for RGB<f64>

§

impl From<RGB<u16>> for RGB<i32>

§

impl From<RGB<u16>> for RGB<u32>

§

impl From<RGB<u16>> for RGB<u64>

§

impl From<RGBA<f32, f32>> for RGBA<f64, f64>

§

impl From<RGBA<i16, i16>> for RGBA<f32, f32>

§

impl From<RGBA<i16, i16>> for RGBA<f64, f64>

§

impl From<RGBA<i32, i32>> for RGBA<f64, f64>

§

impl From<RGBA<u8, u8>> for RGBA<f32, f32>

§

impl From<RGBA<u8, u8>> for RGBA<f64, f64>

§

impl From<RGBA<u8, u8>> for RGBA<i16, i16>

§

impl From<RGBA<u8, u8>> for RGBA<u16, u16>

§

impl From<RGBA<u8, u8>> for RGBA<u32, u32>

§

impl From<RGBA<u16, u16>> for RGBA<f32, f32>

§

impl From<RGBA<u16, u16>> for RGBA<f64, f64>

§

impl From<RGBA<u16, u16>> for RGBA<i32, i32>

§

impl From<RGBA<u16, u16>> for RGBA<u32, u32>

§

impl From<RGBA<u16, u16>> for RGBA<u64, u64>

§

impl From<Region> for u32

§

impl From<RemapDir> for ConfigPart

source§

impl From<ResolverError> for FluentError

§

impl From<ResponseType> for i32

§

impl From<Script> for u32

§

impl From<Script> for ScriptExtension

§

impl From<SelectFont> for ConfigPart

§

impl From<Size> for (f64, f64)

§

impl From<StreamResult> for Result<MZStatus, MZError>

§

impl From<TextDecodingError> for DecodingError

§

impl From<TextEncodingError> for EncodingError

source§

impl From<Transform> for Transform

§

impl From<TranslateScale> for Affine

§

impl From<Variant> for u64

§

impl From<Vec2> for (f64, f64)

source§

impl From<WindowHandle> for WindowHandle

1.17.0 · source§

impl From<[u8; 4]> for IpAddr

1.9.0 · source§

impl From<[u8; 4]> for Ipv4Addr

1.17.0 · source§

impl From<[u8; 16]> for IpAddr

1.9.0 · source§

impl From<[u8; 16]> for Ipv6Addr

1.17.0 · source§

impl From<[u16; 8]> for IpAddr

1.16.0 · source§

impl From<[u16; 8]> for Ipv6Addr

§

impl From<[u128; 2]> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl From<[u128; 3]> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl From<[u128; 4]> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl From<[u128; 5]> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl From<[u128; 6]> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl From<[u128; 7]> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl From<[u128; 8]> for Bitmap<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl From<[PaintOrderKind; 3]> for PaintOrder

source§

impl From<f32x4> for [f32; 4]

source§

impl From<f32x8> for [f32; 8]

source§

impl From<i32x4> for [i32; 4]

source§

impl From<i32x8> for [i32; 8]

source§

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

§

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

source§

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

source§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

1.28.0 · source§

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

1.28.0 · source§

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

1.28.0 · source§

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

1.28.0 · source§

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

1.28.0 · source§

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

1.6.0 · source§

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

1.28.0 · source§

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

source§

impl<'a> From<&'a Current> for Option<&'a Id>

source§

impl<'a> From<&'a Current> for Option<&'static Metadata<'static>>

source§

impl<'a> From<&'a Current> for Option<Id>

source§

impl<'a> From<&'a Id> for Option<Id>

source§

impl<'a> From<&'a EnteredSpan> for Option<&'a Id>

source§

impl<'a> From<&'a EnteredSpan> for Option<Id>

source§

impl<'a> From<&'a Span> for Option<&'a Id>

source§

impl<'a> From<&'a Span> for Option<Id>

source§

impl<'a> From<&str> for Box<dyn Error + Sync + Send + 'a, Global>

1.22.0 · source§

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

1.14.0 · source§

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

1.28.0 · source§

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

1.28.0 · source§

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

1.28.0 · source§

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

§

impl<'a> From<GString> for Cow<'a, GStr>

§

impl<'a> From<VariantType> for Cow<'a, VariantTy>

§

impl<'a> From<Pin<Box<dyn Future<Output = ()> + 'a, Global>>> for LocalFutureObj<'a, ()>

§

impl<'a> From<Pin<Box<dyn Future<Output = ()> + Send + 'a, Global>>> for FutureObj<'a, ()>

§

impl<'a> From<Box<dyn Future<Output = ()> + 'a, Global>> for LocalFutureObj<'a, ()>

§

impl<'a> From<Box<dyn Future<Output = ()> + Send + 'a, Global>> for FutureObj<'a, ()>

1.28.0 · source§

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

source§

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

1.28.0 · source§

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

1.6.0 · source§

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

§

impl<'a> From<StrSpan<'a>> for Stream<'a>

§

impl<'a, 'b> From<&'b str> for ExpandedName<'a, 'b>

§

impl<'a, 'b> From<&'b str> for ExpandedName<'a, 'b>

§

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

§

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

1.22.0 · source§

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

source§

impl<'a, A> From<&'a [A]> for OrdSet<A>where A: Ord + Clone,

source§

impl<'a, A> From<&'a [A]> for Vector<A>where A: Clone,

source§

impl<'a, A> From<&'a BTreeSet<A, Global>> for OrdSet<A>where A: Ord + Clone,

source§

impl<'a, A> From<&'a Vec<A, Global>> for OrdSet<A>where A: Ord + Clone,

source§

impl<'a, A> From<&'a Vec<A, Global>> for Vector<A>where A: Clone,

source§

impl<'a, A> From<&'a HashSet<A, RandomState>> for OrdSet<A>where A: Eq + Hash + Ord + Clone,

§

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

source§

impl<'a, A> From<FocusMut<'a, A>> for Focus<'a, A>where A: Clone + 'a,

§

impl<'a, A, N, T> From<&'a mut InlineArray<A, T>> for Chunk<A, N>where N: ChunkLength<A>,

source§

impl<'a, A, S> From<&'a [A]> for druid::im::HashSet<A, S>where A: Hash + Eq + Clone, S: BuildHasher + Default,

source§

impl<'a, A, S> From<&'a HashSet<A, S>> for OrdSet<A>where A: Hash + Eq + Ord + Clone, S: BuildHasher,

source§

impl<'a, A, S> From<&'a OrdSet<A>> for druid::im::HashSet<A, S>where A: Ord + Hash + Eq + Clone, S: BuildHasher + Default,

source§

impl<'a, A, S> From<&'a Vector<A>> for druid::im::HashSet<A, S>where A: Hash + Eq + Clone, S: BuildHasher + Default,

source§

impl<'a, A, S> From<&'a BTreeSet<A, Global>> for druid::im::HashSet<A, S>where A: Hash + Eq + Clone, S: BuildHasher + Default,

source§

impl<'a, A, S> From<&'a Vec<A, Global>> for druid::im::HashSet<A, S>where A: Hash + Eq + Clone, S: BuildHasher + Default,

source§

impl<'a, A, S> From<&'a HashSet<A, RandomState>> for druid::im::HashSet<A, S>where A: Eq + Hash + Clone, S: BuildHasher + Default,

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>,

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§

impl<'a, E> From<E> for Box<dyn Error + 'a, Global>where E: Error + 'a,

source§

impl<'a, E> From<E> for Box<dyn Error + Sync + Send + 'a, Global>where E: Error + Send + Sync + 'a,

§

impl<'a, F> From<Pin<Box<F, Global>>> for FutureObj<'a, ()>where F: Future<Output = ()> + Send + 'a,

§

impl<'a, F> From<Pin<Box<F, Global>>> for LocalFutureObj<'a, ()>where F: Future<Output = ()> + 'a,

§

impl<'a, F> From<Box<F, Global>> for FutureObj<'a, ()>where F: Future<Output = ()> + Send + 'a,

§

impl<'a, F> From<Box<F, Global>> for LocalFutureObj<'a, ()>where F: Future<Output = ()> + 'a,

§

impl<'a, I, S> From<I> for AnsiGenericString<'a, S>where S: 'a + ToOwned + ?Sized, I: Into<Cow<'a, S>>, <S as ToOwned>::Owned: Debug,

source§

impl<'a, K, V, OK, OV, RK, RV> From<&'a HashMap<RK, RV, RandomState>> for OrdMap<K, V>where K: Ord + Clone + From<OK>, V: Clone + From<OV>, OK: Borrow<RK>, OV: Borrow<RV>, RK: Hash + Eq + ToOwned<Owned = OK>, RV: ToOwned<Owned = OV>,

source§

impl<'a, K, V, RK, RV, OK, OV> From<&'a BTreeMap<RK, RV, Global>> for OrdMap<K, V>where K: Ord + Clone + From<OK>, V: Clone + From<OV>, OK: Borrow<RK>, OV: Borrow<RV>, RK: Ord + ToOwned<Owned = OK>, RV: ToOwned<Owned = OV>,

source§

impl<'a, K, V, RK, RV, OK, OV> From<&'a Vec<(RK, RV), Global>> for OrdMap<K, V>where K: Ord + Clone + From<OK>, V: Clone + From<OV>, OK: Borrow<RK>, OV: Borrow<RV>, RK: ToOwned<Owned = OK>, RV: ToOwned<Owned = OV>,

source§

impl<'a, K, V, RK, RV, OK, OV> From<&'a [(RK, RV)]> for OrdMap<K, V>where K: Ord + Clone + From<OK>, V: Clone + From<OV>, OK: Borrow<RK>, OV: Borrow<RV>, RK: ToOwned<Owned = OK>, RV: ToOwned<Owned = OV>,

source§

impl<'a, K, V, S> From<&'a HashMap<K, V, S>> for OrdMap<K, V>where K: Ord + Hash + Eq + Clone, V: Clone, S: BuildHasher,

source§

impl<'a, K, V, S> From<&'a BTreeMap<K, V, Global>> for druid::im::HashMap<K, V, S>where K: Hash + Eq + Clone, V: Clone, S: BuildHasher + Default,

source§

impl<'a, K, V, S> From<&'a Vec<(K, V), Global>> for druid::im::HashMap<K, V, S>where K: Hash + Eq + Clone, V: Clone, S: BuildHasher + Default,

source§

impl<'a, K, V, S> From<&'a HashMap<K, V, RandomState>> for druid::im::HashMap<K, V, S>where K: Hash + Eq + Clone, V: Clone, S: BuildHasher + Default,

source§

impl<'a, K, V, S> From<&'a [(K, V)]> for druid::im::HashMap<K, V, S>where K: Hash + Eq + Clone, V: Clone, S: BuildHasher + Default,

1.30.0 (const: unstable) · source§

impl<'a, T> From<&'a Option<T>> for Option<&'a T>

1.8.0 · source§

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

1.28.0 · source§

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

1.30.0 (const: unstable) · source§

impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T>

1.14.0 · source§

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

§

impl<'a, T> From<&'a T> for ByteArraywhere T: Borrow<[u8]> + 'a + ?Sized,

§

impl<'a, T> From<&'a T> for Byteswhere T: Borrow<[u8]> + 'a + ?Sized,

§

impl<'a, T> From<&'a T> for SendValuewhere T: ToSendValue + ?Sized,

§

impl<'a, T> From<&'a T> for druid::piet::cairo::glib::Valuewhere T: ToValue + ?Sized,

1.8.0 · source§

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

§

impl<'a, T> From<FutureObj<'a, T>> for LocalFutureObj<'a, T>

source§

impl<'data> From<&'data mut [u8]> for BorrowedBuf<'data>

Create a new BorrowedBuf from a fully initialized slice.

source§

impl<'data> From<&'data mut [MaybeUninit<u8>]> for BorrowedBuf<'data>

Create a new BorrowedBuf from an uninitialized buffer.

Use set_init if part of the buffer is known to be already initialized.

§

impl<'l> From<&'l Region> for &'l str

§

impl<'l> From<&'l Script> for &'l str

source§

impl<'l> From<FluentNumber> for FluentValue<'l>

source§

impl<'m> From<&'m Attribute<&'m str>> for FluentAttribute<'m>

source§

impl<'m> From<&'m Message<&'m str>> for FluentMessage<'m>

source§

impl<'m, 'k, 'v, K, V, OK, OV> From<&'m OrdMap<&'k K, &'v V>> for OrdMap<OK, OV>where K: Ord + ToOwned<Owned = OK> + ?Sized, V: ToOwned<Owned = OV> + ?Sized, OK: Ord + Clone + Borrow<K>, OV: Clone + Borrow<V>,

source§

impl<'m, 'k, 'v, K, V, OK, OV, SA, SB> From<&'m HashMap<&'k K, &'v V, SA>> for druid::im::HashMap<OK, OV, SB>where K: Hash + Eq + ToOwned<Owned = OK> + ?Sized, V: ToOwned<Owned = OV> + ?Sized, OK: Hash + Eq + Clone + Borrow<K>, OV: Borrow<V> + Clone, SA: BuildHasher, SB: BuildHasher + Default,

source§

impl<'s, 'a, A, OA> From<&'s OrdSet<&'a A>> for OrdSet<OA>where A: ToOwned<Owned = OA> + Ord + ?Sized, OA: Borrow<A> + Ord + Clone,

source§

impl<'s, 'a, A, OA> From<&'s Vector<&'a A>> for Vector<OA>where A: ToOwned<Owned = OA>, OA: Borrow<A> + Clone,

source§

impl<'s, 'a, A, OA, SA, SB> From<&'s HashSet<&'a A, SA>> for druid::im::HashSet<OA, SB>where A: ToOwned<Owned = OA> + Hash + Eq + ?Sized, OA: Borrow<A> + Hash + Eq + Clone, SA: BuildHasher, SB: BuildHasher + Default,

source§

impl<'s, S> From<CommentDef<S>> for Comment<S>

source§

impl<'source> From<&'source str> for FluentValue<'source>

source§

impl<'source> From<Cow<'source, str>> for FluentValue<'source>

source§

impl<'source> From<String> for FluentValue<'source>

§

impl<'t> From<Match<'t>> for &'t str

§

impl<'t> From<Match<'t>> for Range<usize>

§

impl<'t> From<Match<'t>> for Range<usize>

1.19.0 · source§

impl<A> From<Box<str, A>> for Box<[u8], A>where A: Allocator,

source§

impl<A> From<BTreeSet<A, Global>> for OrdSet<A>where A: Ord + Clone,

§

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

source§

impl<A> From<Vec<A, Global>> for OrdSet<A>where A: Ord + Clone,

source§

impl<A> From<Vec<A, Global>> for Vector<A>where A: Clone,

source§

impl<A> From<HashSet<A, RandomState>> for OrdSet<A>where A: Eq + Hash + Ord + Clone,

§

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

§

impl<A, N, T> From<InlineArray<A, T>> for Chunk<A, N>where N: ChunkLength<A>,

source§

impl<A, S> From<HashSet<A, S>> for OrdSet<A>where A: Hash + Eq + Ord + Clone, S: BuildHasher,

source§

impl<A, S> From<OrdSet<A>> for druid::im::HashSet<A, S>where A: Ord + Hash + Eq + Clone, S: BuildHasher + Default,

source§

impl<A, S> From<Vector<A>> for druid::im::HashSet<A, S>where A: Hash + Eq + Clone, S: BuildHasher + Default,

source§

impl<A, S> From<Vec<A, Global>> for druid::im::HashSet<A, S>where A: Hash + Eq + Clone, S: BuildHasher + Default,

source§

impl<A, S> From<HashSet<A, RandomState>> for druid::im::HashSet<A, S>where A: Eq + Hash + Clone, S: BuildHasher + Default,

§

impl<A, T> From<A> for FixedSizeVariantArray<A, T>where A: AsRef<[T]>, T: FixedSizeVariantType,

§

impl<E> From<E> for ValueTypeMismatchOrNoneError<E>where E: Error,

source§

impl<E> From<E> for Report<E>where E: Error,

source§

impl<E> From<E> for anyhow::Errorwhere E: Error + Send + Sync + 'static,

§

impl<E> From<InvalidBase64Details> for DecodeError<E>

source§

impl<F> From<F> for FilterFn<F>where F: Fn(&Metadata<'_>) -> bool,

source§

impl<F, S> From<F> for DynFilterFn<S, F, fn(_: &'static Metadata<'static>) -> Interest>where F: Fn(&Metadata<'_>, &Context<'_, S>) -> bool,

1.17.0 · source§

impl<I> From<(I, u16)> for SocketAddrwhere I: Into<IpAddr>,

§

impl<I> From<I> for GlibNoneOrInvalidError<I>where I: Error,

source§

impl<K, V, RK, RV> From<BTreeMap<RK, RV, Global>> for OrdMap<K, V>where K: Ord + Clone + From<RK>, V: Clone + From<RV>,

source§

impl<K, V, RK, RV> From<Vec<(RK, RV), Global>> for OrdMap<K, V>where K: Ord + Clone + From<RK>, V: Clone + From<RV>,

source§

impl<K, V, RK, RV> From<HashMap<RK, RV, RandomState>> for OrdMap<K, V>where K: Ord + Clone + From<RK>, RK: Eq + Hash, V: Clone + From<RV>,

source§

impl<K, V, S> From<HashMap<K, V, S>> for OrdMap<K, V>where K: Ord + Hash + Eq + Clone, V: Clone, S: BuildHasher,

source§

impl<K, V, S> From<BTreeMap<K, V, Global>> for druid::im::HashMap<K, V, S>where K: Hash + Eq + Clone, V: Clone, S: BuildHasher + Default,

source§

impl<K, V, S> From<Vec<(K, V), Global>> for druid::im::HashMap<K, V, S>where K: Hash + Eq + Clone, V: Clone, S: BuildHasher + Default,

source§

impl<K, V, S> From<HashMap<K, V, RandomState>> for druid::im::HashMap<K, V, S>where K: Hash + Eq + Clone, V: Clone, S: BuildHasher + Default,

1.56.0 · source§

impl<K, V, const N: usize> From<[(K, V); N]> for BTreeMap<K, V, Global>where K: Ord,

1.56.0 · source§

impl<K, V, const N: usize> From<[(K, V); N]> for std::collections::hash::map::HashMap<K, V, RandomState>where K: Eq + Hash,

source§

impl<N, E, F, W> From<SubscriberBuilder<N, E, F, W>> for Dispatchwhere N: for<'writer> FormatFields<'writer> + 'static, E: FormatEvent<Registry, N> + 'static, W: for<'writer> MakeWriter<'writer> + 'static, F: Layer<Layered<Layer<Registry, N, E, W>, Registry, Registry>> + Send + Sync + 'static, Layer<Registry, N, E, W>: Layer<Registry> + Send + Sync + 'static,

source§

impl<S> From<S> for Dispatchwhere S: Subscriber + Send + Sync + 'static,

source§

impl<S> From<S> for EnvFilterwhere S: AsRef<str>,

1.17.0 · source§

impl<T> From<&[T]> for Box<[T], Global>where T: Copy,

1.21.0 · source§

impl<T> From<&[T]> for Rc<[T]>where T: Clone,

1.21.0 · source§

impl<T> From<&[T]> for Arc<[T]>where T: Clone,

source§

impl<T> From<&[T]> for Vec<T, Global>where T: Clone,

source§

impl<T> From<&str> for LabelText<T>

1.19.0 · source§

impl<T> From<&mut [T]> for Vec<T, Global>where T: Clone,

source§

impl<T> From<Color> for BackgroundBrush<T>

source§

impl<T> From<FixedGradient> for BackgroundBrush<T>

source§

impl<T> From<PaintBrush> for BackgroundBrush<T>

source§

impl<T> From<Option<T>> for EitherWriter<T, Sink>

§

impl<T> From<Option<T>> for OptionFuture<T>

1.45.0 · source§

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

§

impl<T> From<[T; 1]> for Luma<T>

§

impl<T> From<[T; 2]> for LumaA<T>

§

impl<T> From<[T; 3]> for druid::piet::image_crate::Rgb<T>

§

impl<T> From<[T; 3]> for BGR<T>where T: Copy,

§

impl<T> From<[T; 3]> for RGB<T>where T: Copy,

§

impl<T> From<[T; 4]> for Rgba<T>

§

impl<T> From<[T; 4]> for BGRA<T, T>where T: Copy,

§

impl<T> From<[T; 4]> for RGBA<T, T>where T: Copy,

1.34.0 (const: unstable) · source§

impl<T> From<!> for T

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.

1.23.0 (const: unstable) · source§

impl<T> From<*mut T> for AtomicPtr<T>

1.25.0 (const: unstable) · source§

impl<T> From<&T> for NonNull<T>where T: ?Sized,

source§

impl<T> From<&T> for OsStringwhere T: AsRef<OsStr> + ?Sized,

source§

impl<T> From<&T> for PathBufwhere T: AsRef<OsStr> + ?Sized,

1.25.0 (const: unstable) · source§

impl<T> From<&mut T> for NonNull<T>where T: ?Sized,

source§

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

§

impl<T> From<(T, T, T)> for BGR<T>

§

impl<T> From<(T, T, T)> for RGB<T>

source§

impl<T> From<Key<Color>> for BackgroundBrush<T>

source§

impl<T> From<Key<T>> for ArcStr

source§

impl<T> From<LinearGradient> for BackgroundBrush<T>

source§

impl<T> From<LocalizedString<T>> for LabelText<T>

source§

impl<T> From<RadialGradient> for BackgroundBrush<T>

source§

impl<T> From<Painter<T>> for BackgroundBrush<T>

§

impl<T> From<WeakRef<T>> for SendWeakRef<T>where T: ObjectType,

1.21.0 · source§

impl<T> From<Box<T, Global>> for Rc<T>where T: ?Sized,

1.21.0 · source§

impl<T> From<Box<T, Global>> for Arc<T>where T: ?Sized,

1.5.0 · source§

impl<T> From<BinaryHeap<T>> for Vec<T, Global>

source§

impl<T> From<String> for LabelText<T>

source§

impl<T> From<Arc<str>> for LabelText<T>

1.5.0 · source§

impl<T> From<Vec<T, Global>> for BinaryHeap<T>where T: Ord,

1.21.0 · source§

impl<T> From<Vec<T, Global>> for Rc<[T]>

1.21.0 · source§

impl<T> From<Vec<T, Global>> for Arc<[T]>

1.24.0 · source§

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

source§

impl<T> From<PoisonError<T>> for TryLockError<T>

§

impl<T> From<BGR<T>> for BGRA<T, u8>where T: Copy,

Assumes 255 is opaque

§

impl<T> From<BGR<T>> for BGRA<T, u16>where T: Copy,

Assumes 65535 is opaque

§

impl<T> From<BGR<T>> for RGB<T>where T: Clone,

§

impl<T> From<BGR<T>> for RGBA<T, u8>where T: Copy,

Assumes 255 is opaque

§

impl<T> From<BGR<T>> for RGBA<T, u16>where T: Copy,

Assumes 65535 is opaque

§

impl<T> From<BGRA<T, T>> for RGBA<T, T>where T: Clone,

§

impl<T> From<Gray<T>> for GrayAlpha<T, u8>where T: Copy,

Assumes 255 is opaque

§

impl<T> From<Gray<T>> for GrayAlpha<T, u16>where T: Copy,

Assumes 65535 is opaque

§

impl<T> From<Gray<T>> for RGB<T>where T: Clone,

§

impl<T> From<Gray<T>> for RGBA<T, u8>where T: Clone,

§

impl<T> From<RGB<T>> for BGR<T>where T: Clone,

§

impl<T> From<RGB<T>> for BGRA<T, u8>where T: Copy,

Assumes 255 is opaque

§

impl<T> From<RGB<T>> for BGRA<T, u16>where T: Copy,

Assumes 65535 is opaque

§

impl<T> From<RGB<T>> for RGBA<T, u8>where T: Copy,

Assumes 255 is opaque

§

impl<T> From<RGB<T>> for RGBA<T, u16>where T: Copy,

Assumes 65535 is opaque

§

impl<T> From<RGBA<T, T>> for BGRA<T, T>where T: Clone,

1.12.0 (const: unstable) · source§

impl<T> From<T> for Option<T>

1.36.0 (const: unstable) · source§

impl<T> From<T> for Poll<T>

§

impl<T> From<T> for druid::piet::cairo::glib::once_cell::sync::OnceCell<T>

§

impl<T> From<T> for druid::piet::cairo::glib::once_cell::unsync::OnceCell<T>

§

impl<T> From<T> for CollationKeywhere T: AsRef<str>,

§

impl<T> From<T> for FilenameCollationKeywhere T: AsRef<str>,

1.12.0 (const: unstable) · source§

impl<T> From<T> for Cell<T>

source§

impl<T> From<T> for druid::piet::cairo::glib::bitflags::_core::cell::OnceCell<T>

1.12.0 (const: unstable) · source§

impl<T> From<T> for RefCell<T>

const: unstable · source§

impl<T> From<T> for SyncUnsafeCell<T>

1.12.0 (const: unstable) · source§

impl<T> From<T> for UnsafeCell<T>

source§

impl<T> From<T> for Exclusive<T>

1.6.0 · source§

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

1.6.0 · source§

impl<T> From<T> for Rc<T>

1.6.0 · source§

impl<T> From<T> for Arc<T>

1.24.0 · source§

impl<T> From<T> for std::sync::mutex::Mutex<T>

source§

impl<T> From<T> for OnceLock<T>

1.24.0 · source§

impl<T> From<T> for RwLock<T>

source§

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

§

impl<T> From<T> for Gray<T>where T: Copy,

§

impl<T> From<T> for Mutex<T>

const: unstable · source§

impl<T> From<T> for T

§

impl<T, A> From<(T, T, T, A)> for BGRA<T, A>

§

impl<T, A> From<(T, T, T, A)> for RGBA<T, A>

1.18.0 · source§

impl<T, A> From<Box<[T], A>> for Vec<T, A>where A: Allocator,

1.33.0 (const: unstable) · source§

impl<T, A> From<Box<T, A>> for Pin<Box<T, A>>where A: Allocator + 'static, T: ?Sized,

1.10.0 · source§

impl<T, A> From<VecDeque<T, A>> for Vec<T, A>where A: Allocator,

1.20.0 · source§

impl<T, A> From<Vec<T, A>> for Box<[T], A>where A: Allocator,

1.10.0 · source§

impl<T, A> From<Vec<T, A>> for VecDeque<T, A>where A: Allocator,

§

impl<T, A> From<GrayAlpha<T, A>> for RGBA<T, A>where T: Clone,

source§

impl<T, S, F> From<F> for LabelText<T>where S: Into<Arc<str>>, F: Fn(&T, &Env) -> S + 'static,

§

impl<T, U> From<FieldOffset<T, U, AllowPin>> for FieldOffset<T, U, NotPinned>

source§

impl<T, const CAP: usize> From<[T; CAP]> for ArrayVec<T, CAP>

Create an ArrayVec from an array.

use arrayvec::ArrayVec;

let mut array = ArrayVec::from([1, 2, 3]);
assert_eq!(array.len(), 3);
assert_eq!(array.capacity(), 3);
source§

impl<T, const LANES: usize> From<[T; LANES]> for Simd<T, LANES>where LaneCount<LANES>: SupportedLaneCount, T: SimdElement,

source§

impl<T, const LANES: usize> From<Mask<T, LANES>> for [bool; LANES]where T: MaskElement, LaneCount<LANES>: SupportedLaneCount,

source§

impl<T, const LANES: usize> From<Simd<T, LANES>> for [T; LANES]where LaneCount<LANES>: SupportedLaneCount, T: SimdElement,

source§

impl<T, const LANES: usize> From<Mask<T, LANES>> for Simd<T, LANES>where T: MaskElement, LaneCount<LANES>: SupportedLaneCount,

source§

impl<T, const LANES: usize> From<[bool; LANES]> for Mask<T, LANES>where T: MaskElement, LaneCount<LANES>: SupportedLaneCount,

1.45.0 · source§

impl<T, const N: usize> From<[T; N]> for Box<[T], Global>

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for BinaryHeap<T>where T: Ord,

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for BTreeSet<T, Global>where T: Ord,

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for LinkedList<T>

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for VecDeque<T, Global>

1.44.0 · source§

impl<T, const N: usize> From<[T; N]> for Vec<T, Global>

1.56.0 · source§

impl<T, const N: usize> From<[T; N]> for std::collections::hash::set::HashSet<T, RandomState>where T: Eq + Hash,

source§

impl<T: 'static + Send + Sync> From<Arc<T>> for druid::Value

source§

impl<T: ValueType> From<Key<T>> for KeyOrValue<T>

source§

impl<T: Data> From<Menu<T>> for MenuEntry<T>

source§

impl<T: Data> From<MenuItem<T>> for MenuEntry<T>

source§

impl<T: Data, U: Data, L: Lens<T, U> + 'static> From<MenuLensWrap<L, U>> for MenuEntry<T>

source§

impl<T: Into<Value>> From<T> for KeyOrValue<T>

§

impl<V> From<V> for Expressionwhere Value: From<V>,

1.51.0 · source§

impl<W> From<Arc<W>> for RawWakerwhere W: Wake + Send + Sync + 'static,

1.51.0 · source§

impl<W> From<Arc<W>> for Wakerwhere W: Wake + Send + Sync + 'static,

source§

impl<W> From<IntoInnerError<W>> for std::io::error::Error

source§

impl<const LANES: usize> From<Mask<i8, LANES>> for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i8, LANES>> for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i8, LANES>> for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i8, LANES>> for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i16, LANES>> for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i16, LANES>> for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i16, LANES>> for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i16, LANES>> for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i32, LANES>> for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i32, LANES>> for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i32, LANES>> for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i32, LANES>> for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i64, LANES>> for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i64, LANES>> for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i64, LANES>> for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<i64, LANES>> for Mask<isize, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<isize, LANES>> for Mask<i8, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<isize, LANES>> for Mask<i16, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<isize, LANES>> for Mask<i32, LANES>where LaneCount<LANES>: SupportedLaneCount,

source§

impl<const LANES: usize> From<Mask<isize, LANES>> for Mask<i64, LANES>where LaneCount<LANES>: SupportedLaneCount,