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

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

§

type Item = T

The type of the array’s elements.
§

fn size() -> usize

Returns the number of items the array can hold.
","Array","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

const LENGTH: usize = N

The number of items in the array.
Source§

type Item = T

The type of the array’s items.
","ArrayExt","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn arrays_as(&self) -> &[C]

Cast this collection of arrays into a collection of colors.
","ArraysAs<[C]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn arrays_as_mut(&mut self) -> &mut [C]

Cast this collection of arrays into a mutable collection of colors.
","ArraysAsMut<[C]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn as_arrays(&self) -> &[[T; N]]

Cast this collection of colors into a collection of arrays.
","AsArrays<[[T; N]]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn as_arrays_mut(&mut self) -> &mut [[T; N]]

Cast this collection of colors into a mutable collection of arrays.
","AsArraysMut<[[T; N]]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn as_components(&self) -> &[T]

Cast this collection of colors into a collection of color components.
","AsComponents<[T]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn as_components_mut(&mut self) -> &mut [T]

Cast this collection of colors into a mutable collection of color\ncomponents.
","AsComponentsMut<[T]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn as_uints(&self) -> &[<C as UintCast>::Uint]

Cast this collection of colors into a collection of unsigned integers.
","AsUints<[::Uint]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn as_uints_mut(&mut self) -> &mut [<C as UintCast>::Uint]

Cast this collection of colors into a mutable collection of unsigned integers.
","AsUintsMut<[::Uint]>","cosmic::cosmic_theme::palette::Mat3"],["
1.4.0 · Source§

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

Source§

fn borrow(&self) -> &[T]

Immutably borrows from an owned value. Read more
","Borrow<[T]>","cosmic::cosmic_theme::palette::Mat3"],["
1.4.0 · Source§

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

Source§

fn borrow_mut(&mut self) -> &mut [T]

Mutably borrows from an owned value. Read more
","BorrowMut<[T]>","cosmic::cosmic_theme::palette::Mat3"],["
1.0.0 · Source§

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

Source§

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

Formats the value using the given formatter. Read more
","Debug","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

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

Cast a collection of arrays into an collection of colors.
","FromArrays<[[T; N]; M]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

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

Cast a collection of unsigned integers into an collection of colors.
","FromUints<[::Uint; N]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

type Mask = <T as HasBoolMask>::Mask

The mask type to use for selecting Self values.
","HasBoolMask","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn into_arrays(self) -> [[T; N]; M]

Cast this collection of colors into a collection of arrays.
","IntoArrays<[[T; N]; M]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

impl<T, C, const N: usize, const M: usize> IntoComponents<[T; M]> for [C; N]
where\n C: ArrayCast,\n <C as ArrayCast>::Array: ArrayExt<Item = T>,

Source§

fn into_components(self) -> [T; M]

Cast this collection of colors into a collection of color components.
","IntoComponents<[T; M]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

impl<C, const N: usize> IntoUints<[<C as UintCast>::Uint; N]> for [C; N]
where\n C: UintCast,

Source§

fn into_uints(self) -> [<C as UintCast>::Uint; N]

Cast this collection of colors into a collection of unsigned integers.
","IntoUints<[::Uint; N]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

impl<T> NextArray for [T; 9]

Source§

type Next = [T; 10]

An array of size N + 1.
","NextArray","cosmic::cosmic_theme::palette::Mat3"],["
Source§

impl<const N: usize> Pattern for [char; N]

Searches for chars that are equal to any of the chars in the array.

\n

§Examples

\n
assert_eq!(\"Hello world\".find(['o', 'l']), Some(2));\nassert_eq!(\"Hello world\".find(['h', 'w']), Some(6));
\n
Source§

type Searcher<'a> = CharArraySearcher<'a, N>

🔬This is a nightly-only experimental API. (pattern)
Associated searcher for this pattern
Source§

fn into_searcher<'a>(self, haystack: &'a str) -> CharArraySearcher<'a, N>

🔬This is a nightly-only experimental API. (pattern)
Constructs the associated searcher from\nself and the haystack to search in.
Source§

fn is_contained_in<'a>(self, haystack: &'a str) -> bool

🔬This is a nightly-only experimental API. (pattern)
Checks whether the pattern matches anywhere in the haystack
Source§

fn is_prefix_of<'a>(self, haystack: &'a str) -> bool

🔬This is a nightly-only experimental API. (pattern)
Checks whether the pattern matches at the front of the haystack
Source§

fn strip_prefix_of<'a>(self, haystack: &'a str) -> Option<&'a str>

🔬This is a nightly-only experimental API. (pattern)
Removes the pattern from the front of haystack, if it matches.
Source§

fn is_suffix_of<'a>(self, haystack: &'a str) -> bool
where\n CharArraySearcher<'a, N>: ReverseSearcher<'a>,

🔬This is a nightly-only experimental API. (pattern)
Checks whether the pattern matches at the back of the haystack
Source§

fn strip_suffix_of<'a>(self, haystack: &'a str) -> Option<&'a str>
where\n CharArraySearcher<'a, N>: ReverseSearcher<'a>,

🔬This is a nightly-only experimental API. (pattern)
Removes the pattern from the back of haystack, if it matches.
Source§

fn as_utf8_pattern(&self) -> Option<Utf8Pattern<'_>>

🔬This is a nightly-only experimental API. (pattern)
Returns the pattern as utf-8 bytes if possible.
","Pattern","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

type Error = SliceCastError

The error for when try_components_as fails to cast.
Source§

fn try_components_as(\n &self,\n) -> Result<&[C], <[T; M] as TryComponentsAs<[C]>>::Error>

Try to cast this collection of color components into a reference to a\ncollection of colors. Read more
","TryComponentsAs<[C]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

type Error = SliceCastError

The error for when try_components_as_mut fails to cast.
Source§

fn try_components_as_mut(\n &mut self,\n) -> Result<&mut [C], <[T; M] as TryComponentsAsMut<[C]>>::Error>

Try to cast this collection of color components into a mutable reference\nto a collection of colors. Read more
","TryComponentsAsMut<[C]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

type Error = Infallible

The error for when try_from_components fails to cast.
Source§

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

Try to cast a collection of color components into an collection of\ncolors. Read more
","TryFromComponents<[T; N]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn uints_as(&self) -> &[C]

Cast this collection of unsigned integers into a collection of colors.
","UintsAs<[C]>","cosmic::cosmic_theme::palette::Mat3"],["
Source§

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

Source§

fn uints_as_mut(&mut self) -> &mut [C]

Cast this collection of unsigned integers into a mutable collection of colors.
","UintsAsMut<[C]>","cosmic::cosmic_theme::palette::Mat3"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() //{"start":55,"fragment_lengths":[72805]}