(function() { var type_impls = Object.fromEntries([["cosmic",[["
§

impl<T> ApproxEq for &[T]
where\n T: Copy + ApproxEq,

§

type Margin = <T as ApproxEq>::Margin

This type type defines a margin within which two values are to be\nconsidered approximately equal. It must implement Default so that\napprox_eq() can be called on unknown types.
§

fn approx_eq<M>(self, other: &[T], margin: M) -> bool
where\n M: Into<<&[T] as ApproxEq>::Margin>,

This method tests that the self and other values are equal within margin\nof each other.
§

fn approx_ne<M>(self, other: Self, margin: M) -> bool
where\n M: Into<Self::Margin>,

This method tests that the self and other values are not within margin\nof each other.
","ApproxEq","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T> ApproxEq for &[T]
where\n T: Copy + ApproxEq,

§

type Margin = <T as ApproxEq>::Margin

This type type defines a margin within which two values are to be\nconsidered approximately equal. It must implement Default so that\napprox_eq() can be called on unknown types.
§

fn approx_eq<M>(self, other: &[T], margin: M) -> bool
where\n M: Into<<&[T] as ApproxEq>::Margin>,

This method tests that the self and other values are equal within margin\nof each other.
§

fn approx_ne<M>(self, other: Self, margin: M) -> bool
where\n M: Into<Self::Margin>,

This method tests that the self and other values are not within margin\nof each other.
","ApproxEq","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T> AsRef<ZeroSlice<T>> for &[<T as AsULE>::ULE]
where\n T: AsULE,

§

fn as_ref(&self) -> &ZeroSlice<T>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
1.0.0 (const: unstable) · Source§

impl<T> Default for &[T]

Source§

fn default() -> &[T]

Creates an empty slice.

\n
","Default","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T, E, F> EncodeAsVarULE<VarZeroSlice<T, F>> for &[E]
where\n T: VarULE + ?Sized,\n E: EncodeAsVarULE<T>,\n F: VarZeroVecFormat,

§

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

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

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

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

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T> EncodeAsVarULE<ZeroSlice<T>> for &[T]
where\n T: AsULE + 'static,

§

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

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

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

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

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<'a, T> FontReadWithArgs<'a> for &'a [T]
where\n T: AnyBitPattern + FixedSize,

§

fn read_with_args(data: FontData<'a>, args: &u16) -> Result<&'a [T], ReadError>

read an item, using the provided args. Read more
","FontReadWithArgs<'a>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, C, T, const N: usize> From<&'a Alpha<C, T>> for &'a [T]
where\n Alpha<C, T>: ArrayCast<Array = [T; N]>,

Source§

fn from(color: &'a Alpha<C, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Alpha>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Cam16Jch<T>> for &'a [T]

Source§

fn from(color: &'a Cam16Jch<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Cam16Jch>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Cam16Jmh<T>> for &'a [T]

Source§

fn from(color: &'a Cam16Jmh<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Cam16Jmh>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Cam16Jsh<T>> for &'a [T]

Source§

fn from(color: &'a Cam16Jsh<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Cam16Jsh>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Cam16Qch<T>> for &'a [T]

Source§

fn from(color: &'a Cam16Qch<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Cam16Qch>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Cam16Qmh<T>> for &'a [T]

Source§

fn from(color: &'a Cam16Qmh<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Cam16Qmh>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Cam16Qsh<T>> for &'a [T]

Source§

fn from(color: &'a Cam16Qsh<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Cam16Qsh>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Cam16UcsJab<T>> for &'a [T]

Source§

fn from(color: &'a Cam16UcsJab<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Cam16UcsJab>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Cam16UcsJmh<T>> for &'a [T]

Source§

fn from(color: &'a Cam16UcsJmh<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Cam16UcsJmh>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, S, T> From<&'a Hsl<S, T>> for &'a [T]

Source§

fn from(color: &'a Hsl<S, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Hsl>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, Wp, T> From<&'a Hsluv<Wp, T>> for &'a [T]

Source§

fn from(color: &'a Hsluv<Wp, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Hsluv>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, S, T> From<&'a Hsv<S, T>> for &'a [T]

Source§

fn from(color: &'a Hsv<S, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Hsv>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, S, T> From<&'a Hwb<S, T>> for &'a [T]

Source§

fn from(color: &'a Hwb<S, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Hwb>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, Wp, T> From<&'a Lab<Wp, T>> for &'a [T]

Source§

fn from(color: &'a Lab<Wp, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Lab>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, Wp, T> From<&'a Lch<Wp, T>> for &'a [T]

Source§

fn from(color: &'a Lch<Wp, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Lch>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, Wp, T> From<&'a Lchuv<Wp, T>> for &'a [T]

Source§

fn from(color: &'a Lchuv<Wp, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Lchuv>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, S, T> From<&'a Luma<S, T>> for &'a [T]

Source§

fn from(color: &'a Luma<S, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Luma>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, Wp, T> From<&'a Luv<Wp, T>> for &'a [T]

Source§

fn from(color: &'a Luv<Wp, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Luv>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Okhsl<T>> for &'a [T]

Source§

fn from(color: &'a Okhsl<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Okhsl>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Okhsv<T>> for &'a [T]

Source§

fn from(color: &'a Okhsv<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Okhsv>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Okhwb<T>> for &'a [T]

Source§

fn from(color: &'a Okhwb<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Okhwb>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Oklab<T>> for &'a [T]

Source§

fn from(color: &'a Oklab<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Oklab>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T> From<&'a Oklch<T>> for &'a [T]

Source§

fn from(color: &'a Oklch<T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Oklch>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, O, T, const N: usize> From<&'a Packed<O, [T; N]>> for &'a [T]

Source§

fn from(color: &'a Packed<O, [T; N]>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Packed>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, C, const N: usize> From<&'a PreAlpha<C>> for &'a [<C as Premultiply>::Scalar]
where\n C: Premultiply,\n PreAlpha<C>: ArrayCast<Array = [<C as Premultiply>::Scalar; N]>,

Source§

fn from(color: &'a PreAlpha<C>) -> &'a [<C as Premultiply>::Scalar]

Converts to this type from the input type.
","From<&'a PreAlpha>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, S, T> From<&'a Rgb<S, T>> for &'a [T]

Source§

fn from(color: &'a Rgb<S, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Rgb>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, Wp, T> From<&'a Xyz<Wp, T>> for &'a [T]

Source§

fn from(color: &'a Xyz<Wp, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Xyz>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, Wp, T> From<&'a Yxy<Wp, T>> for &'a [T]

Source§

fn from(color: &'a Yxy<Wp, T>) -> &'a [T]

Converts to this type from the input type.
","From<&'a Yxy>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C, const N: usize> FromArrays<&'a [[T; N]]> for &'a [C]
where\n C: ArrayCast<Array = [T; N]>,

Source§

fn from_arrays(arrays: &'a [[T; N]]) -> &'a [C]

Cast a collection of arrays into an collection of colors.
","FromArrays<&'a [[T; N]]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C, const N: usize, const M: usize> FromArrays<&'a [[T; N]; M]> for &'a [C]
where\n C: ArrayCast<Array = [T; N]>,

Source§

fn from_arrays(arrays: &'a [[T; N]; M]) -> &'a [C]

Cast a collection of arrays into an collection of colors.
","FromArrays<&'a [[T; N]; M]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C, const N: usize> FromArrays<&'a Box<[[T; N]]>> for &'a [C]
where\n C: ArrayCast<Array = [T; N]>,

Source§

fn from_arrays(arrays: &'a Box<[[T; N]]>) -> &'a [C]

Cast a collection of arrays into an collection of colors.
","FromArrays<&'a Box<[[T; N]]>>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C, const N: usize> FromArrays<&'a Vec<[T; N]>> for &'a [C]
where\n C: ArrayCast<Array = [T; N]>,

Source§

fn from_arrays(arrays: &'a Vec<[T; N]>) -> &'a [C]

Cast a collection of arrays into an collection of colors.
","FromArrays<&'a Vec<[T; N]>>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, C> FromUints<&'a [<C as UintCast>::Uint]> for &'a [C]
where\n C: UintCast,

Source§

fn from_uints(uints: &'a [<C as UintCast>::Uint]) -> &'a [C]

Cast a collection of unsigned integers into an collection of colors.
","FromUints<&'a [::Uint]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, C, const N: usize> FromUints<&'a [<C as UintCast>::Uint; N]> for &'a [C]
where\n C: UintCast,

Source§

fn from_uints(uints: &'a [<C as UintCast>::Uint; N]) -> &'a [C]

Cast a collection of unsigned integers into an collection of colors.
","FromUints<&'a [::Uint; N]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, C> FromUints<&'a Box<[<C as UintCast>::Uint]>> for &'a [C]
where\n C: UintCast,

Source§

fn from_uints(uints: &'a Box<[<C as UintCast>::Uint]>) -> &'a [C]

Cast a collection of unsigned integers into an collection of colors.
","FromUints<&'a Box<[::Uint]>>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, C> FromUints<&'a Vec<<C as UintCast>::Uint>> for &'a [C]
where\n C: UintCast,

Source§

fn from_uints(uints: &'a Vec<<C as UintCast>::Uint>) -> &'a [C]

Cast a collection of unsigned integers into an collection of colors.
","FromUints<&'a Vec<::Uint>>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C, const N: usize> IntoArrays<&'a [[T; N]]> for &'a [C]
where\n C: ArrayCast<Array = [T; N]>,

Source§

fn into_arrays(self) -> &'a [[T; N]]

Cast this collection of colors into a collection of arrays.
","IntoArrays<&'a [[T; N]]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C> IntoComponents<&'a [T]> for &'a [C]
where\n T: 'a,\n C: ArrayCast,\n <C as ArrayCast>::Array: ArrayExt<Item = T>,

Source§

fn into_components(self) -> &'a [T]

Cast this collection of colors into a collection of color components.
","IntoComponents<&'a [T]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
1.0.0 · Source§

impl<'a, T> IntoIterator for &'a [T]

Source§

type Item = &'a T

The type of the elements being iterated over.
Source§

type IntoIter = Iter<'a, T>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Iter<'a, T>

Creates an iterator from a value. Read more
","IntoIterator","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, C> IntoUints<&'a [<C as UintCast>::Uint]> for &'a [C]
where\n C: UintCast,

Source§

fn into_uints(self) -> &'a [<C as UintCast>::Uint]

Cast this collection of colors into a collection of unsigned integers.
","IntoUints<&'a [::Uint]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<'a, T> Offset<<&'a [T] as Stream>::Checkpoint> for &'a [T]
where\n T: Clone + Debug,

§

fn offset_from(&self, other: &<&'a [T] as Stream>::Checkpoint) -> usize

Offset between the first byte of start and the first byte of selfa Read more
","Offset<<&'a [T] as Stream>::Checkpoint>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T> Offset for &[T]

§

fn offset_from(&self, start: &&[T]) -> usize

Offset between the first byte of start and the first byte of selfa Read more
","Offset","cosmic::widget::canvas::path::lyon_path::Attributes"],["
1.0.0 · Source§

impl<T, U, const N: usize> PartialEq<[U; N]> for &[T]
where\n T: PartialEq<U>,

Source§

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

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

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

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<[U; N]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
1.46.0 · Source§

impl<T, U, A> PartialEq<Vec<U, A>> for &[T]
where\n A: Allocator,\n T: PartialEq<U>,

Source§

fn eq(&self, other: &Vec<U, A>) -> bool

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

fn ne(&self, other: &Vec<U, A>) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T> ReadArgs for &[T]
where\n T: AnyBitPattern,

§

type Args = u16

","ReadArgs","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T> SliceLen for &[T]

§

fn slice_len(&self) -> usize

Calculates the input length, as indicated by its name,\nand the name of the trait itself
","SliceLen","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<'i, T> Stream for &'i [T]
where\n T: Clone + Debug,

§

type Token = T

The smallest unit being parsed Read more
§

type Slice = &'i [T]

Sequence of Tokens Read more
§

type IterOffsets = Enumerate<Cloned<Iter<'i, T>>>

Iterate with the offset from the current location
§

type Checkpoint = Checkpoint<&'i [T], &'i [T]>

A parse location within the stream
§

fn iter_offsets(&self) -> <&'i [T] as Stream>::IterOffsets

Iterate with the offset from the current location
§

fn eof_offset(&self) -> usize

Returns the offset to the end of the input
§

fn next_token(&mut self) -> Option<<&'i [T] as Stream>::Token>

Split off the next token from the input
§

fn peek_token(&self) -> Option<<&'i [T] as Stream>::Token>

Split off the next token from the input
§

fn offset_for<P>(&self, predicate: P) -> Option<usize>
where\n P: Fn(<&'i [T] as Stream>::Token) -> bool,

Finds the offset of the next matching token
§

fn offset_at(&self, tokens: usize) -> Result<usize, Needed>

Get the offset for the number of tokens into the stream Read more
§

fn next_slice(&mut self, offset: usize) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

unsafe fn next_slice_unchecked(\n &mut self,\n offset: usize,\n) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

fn peek_slice(&self, offset: usize) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input
§

unsafe fn peek_slice_unchecked(\n &self,\n offset: usize,\n) -> <&'i [T] as Stream>::Slice

Split off a slice of tokens from the input Read more
§

fn checkpoint(&self) -> <&'i [T] as Stream>::Checkpoint

Save the current parse location within the stream
§

fn reset(&mut self, checkpoint: &<&'i [T] as Stream>::Checkpoint)

Revert the stream to a prior [Self::Checkpoint] Read more
§

fn raw(&self) -> &dyn Debug

👎Deprecated since 0.7.10: Replaced with Stream::trace
Deprecated for callers as of 0.7.10, instead call [Stream::trace]
§

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

Write out a single-line summary of the current parse location
§

fn finish(&mut self) -> Self::Slice

Advance to the end of the stream
§

fn peek_finish(&self) -> Self::Slice
where\n Self: Clone,

Advance to the end of the stream
","Stream","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T> StreamIsPartial for &[T]

§

type PartialState = ()

Whether the stream is currently partial or complete
§

fn complete(&mut self) -> <&[T] as StreamIsPartial>::PartialState

Mark the stream is complete
§

fn restore_partial(&mut self, _state: <&[T] as StreamIsPartial>::PartialState)

Restore the stream back to its previous state
§

fn is_partial_supported() -> bool

Report whether the [Stream] is can ever be incomplete
§

fn is_partial(&self) -> bool

Report whether the [Stream] is currently incomplete
","StreamIsPartial","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C> TryFromComponents<&'a [T]> for &'a [C]
where\n T: 'a,\n C: ArrayCast,\n <C as ArrayCast>::Array: ArrayExt<Item = T>,

Source§

type Error = SliceCastError

The error for when try_from_components fails to cast.
Source§

fn try_from_components(\n components: &'a [T],\n) -> Result<&'a [C], <&'a [C] as TryFromComponents<&'a [T]>>::Error>

Try to cast a collection of color components into an collection of\ncolors. Read more
","TryFromComponents<&'a [T]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C, const N: usize> TryFromComponents<&'a [T; N]> for &'a [C]
where\n T: 'a,\n C: ArrayCast,\n <C as ArrayCast>::Array: ArrayExt<Item = T>,

Source§

type Error = SliceCastError

The error for when try_from_components fails to cast.
Source§

fn try_from_components(\n components: &'a [T; N],\n) -> Result<&'a [C], <&'a [C] as TryFromComponents<&'a [T; N]>>::Error>

Try to cast a collection of color components into an collection of\ncolors. Read more
","TryFromComponents<&'a [T; N]>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C> TryFromComponents<&'a Box<[T]>> for &'a [C]
where\n T: 'a,\n C: ArrayCast,\n <C as ArrayCast>::Array: ArrayExt<Item = T>,

Source§

type Error = SliceCastError

The error for when try_from_components fails to cast.
Source§

fn try_from_components(\n components: &'a Box<[T]>,\n) -> Result<&'a [C], <&'a [C] as TryFromComponents<&'a Box<[T]>>>::Error>

Try to cast a collection of color components into an collection of\ncolors. Read more
","TryFromComponents<&'a Box<[T]>>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
Source§

impl<'a, T, C> TryFromComponents<&'a Vec<T>> for &'a [C]
where\n T: 'a,\n C: ArrayCast,\n <C as ArrayCast>::Array: ArrayExt<Item = T>,

Source§

type Error = SliceCastError

The error for when try_from_components fails to cast.
Source§

fn try_from_components(\n components: &'a Vec<T>,\n) -> Result<&'a [C], <&'a [C] as TryFromComponents<&'a Vec<T>>>::Error>

Try to cast a collection of color components into an collection of\ncolors. Read more
","TryFromComponents<&'a Vec>","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<T> UpdateSlice for &[T]
where\n T: Clone + Debug,

§

fn update_slice(self, inner: <&[T] as Stream>::Slice) -> &[T]

Convert an Output type to be used as Stream
","UpdateSlice","cosmic::widget::canvas::path::lyon_path::Attributes"],["
§

impl<'zf, T> ZeroFrom<'zf, [T]> for &'zf [T]

§

fn zero_from(other: &'zf [T]) -> &'zf [T]

Clone the other C into a struct that may retain references into C.
","ZeroFrom<'zf, [T]>","cosmic::widget::canvas::path::lyon_path::Attributes"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() //{"start":55,"fragment_lengths":[149007]}