pub struct App {Show 50 fields
core: Core,
about: About,
nav_bar_context_id: Entity,
nav_model: SingleSelectModel,
tab_model: Model<SingleSelect>,
config_handler: Option<Config>,
state_handler: Option<Config>,
config: Config,
state: State,
mode: Mode,
app_themes: Vec<String>,
compio_tx: Sender<Pin<Box<dyn Future<Output = ()> + Send>>>,
context_page: ContextPage,
dialog_pages: DialogPages,
dialog_text_input: Id,
key_binds: HashMap<KeyBind, Action>,
margin: FxHashMap<Id, (f32, f32, f32, f32)>,
mime_app_cache: MimeAppCache,
modifiers: Modifiers,
mounter_items: FxHashMap<MounterKey, Vec<MounterItem>>,
client_items: FxHashMap<ClientKey, ClientItems>,
must_save_sort_names: bool,
network_drive_connecting: Option<(MounterKey, String)>,
network_drive_input: String,
remote_drive_connecting: Option<(ClientKey, String)>,
remote_drive_input: String,
pending_operation_id: u64,
pending_operations: BTreeMap<u64, (Operation, Controller)>,
progress_operations: BTreeSet<u64>,
complete_operations: BTreeMap<u64, Operation>,
failed_operations: BTreeMap<u64, (Operation, Controller, String)>,
scrollable_id: Id,
search_id: Id,
size: Option<Size>,
toasts: Toasts<Message>,
watcher_opt: Option<(Debouncer<RecommendedWatcher, RecommendedCache>, FxHashSet<PathBuf>)>,
windows: FxHashMap<Id, Window>,
nav_dnd_hover: Option<(Location, Instant)>,
tab_dnd_hover: Option<(Entity, Instant)>,
type_select_prefix: String,
type_select_last_key: Option<Instant>,
nav_drag_id: DragId,
tab_drag_id: DragId,
auto_scroll_speed: Option<i16>,
file_dialog_opt: Option<Dialog<Message>>,
clipboard_cache: ClipboardCache,
running_tasks: HashMap<usize, usize>,
job_total_tasks: HashMap<usize, usize>,
download_files_total: usize,
download_files_done: usize,
}Fields§
§core: Core§about: About§tab_model: Model<SingleSelect>§config_handler: Option<Config>§state_handler: Option<Config>§config: Config§state: State§mode: Mode§app_themes: Vec<String>§compio_tx: Sender<Pin<Box<dyn Future<Output = ()> + Send>>>§context_page: ContextPage§dialog_pages: DialogPages§dialog_text_input: Id§key_binds: HashMap<KeyBind, Action>§margin: FxHashMap<Id, (f32, f32, f32, f32)>§mime_app_cache: MimeAppCache§modifiers: Modifiers§mounter_items: FxHashMap<MounterKey, Vec<MounterItem>>§client_items: FxHashMap<ClientKey, ClientItems>§must_save_sort_names: bool§network_drive_connecting: Option<(MounterKey, String)>§network_drive_input: String§remote_drive_connecting: Option<(ClientKey, String)>§remote_drive_input: String§pending_operation_id: u64§pending_operations: BTreeMap<u64, (Operation, Controller)>§progress_operations: BTreeSet<u64>§complete_operations: BTreeMap<u64, Operation>§failed_operations: BTreeMap<u64, (Operation, Controller, String)>§scrollable_id: Id§search_id: Id§size: Option<Size>§toasts: Toasts<Message>§watcher_opt: Option<(Debouncer<RecommendedWatcher, RecommendedCache>, FxHashSet<PathBuf>)>§windows: FxHashMap<Id, Window>§tab_dnd_hover: Option<(Entity, Instant)>§type_select_prefix: String§type_select_last_key: Option<Instant>§tab_drag_id: DragId§auto_scroll_speed: Option<i16>§file_dialog_opt: Option<Dialog<Message>>§clipboard_cache: ClipboardCache§running_tasks: HashMap<usize, usize>Maps array_id -> current running task count (updated by poll)
job_total_tasks: HashMap<usize, usize>Maps array_id -> total task count (set once on job submission, never overwritten)
download_files_total: usizeTotal files queued across all active download batches
download_files_done: usizeFiles completed so far across all active download batches
Implementations§
Source§impl App
impl App
Sourcefn clipboard_has_content(&self) -> bool
fn clipboard_has_content(&self) -> bool
Returns true if the clipboard cache contains pasteable content
fn push_dialog( &mut self, page: DialogPage, focus_id: Option<Id>, ) -> Task<Message>
fn open_file(&mut self, paths: &[impl AsRef<Path>]) -> Task<Message>
fn launch_from_mime_cache<P>(&self, mime: &Mime, paths: &[P]) -> bool
fn destination_selection_dialog( &mut self, paths: &[impl AsRef<Path>], on_result: impl Fn(DialogResult) -> Message + 'static, title: impl Into<String>, accept_label: impl AsRef<str>, ) -> Task<Message>
fn extract_to(&mut self, paths: &[impl AsRef<Path>]) -> Task<Message>
fn move_to(&mut self, paths: &[impl AsRef<Path>]) -> Task<Message>
fn copy_to(&mut self, paths: &[impl AsRef<Path>]) -> Task<Message>
fn download_to( &mut self, paths: &[impl AsRef<Path>], uris: &[String], ) -> Task<Message>
fn open_tab_entity( &mut self, location: Location, activate: bool, selection_paths: Option<Vec<PathBuf>>, scrollable_id: Id, window_id: Option<Id>, ) -> (Entity, Task<Message>)
fn open_tab( &mut self, location: Location, activate: bool, selection_paths: Option<Vec<PathBuf>>, ) -> Task<Message>
fn delete(&mut self, paths: impl IntoIterator<Item = PathBuf>) -> Task<Message>
fn operation(&mut self, operation: Operation) -> Task<Message>
Sourcefn join_operations(&mut self, operations: Vec<Operation>) -> Task<Message>
fn join_operations(&mut self, operations: Vec<Operation>) -> Task<Message>
Will join operations together into a single task that will return a single Message::PendingResults message when all operations are complete.
fn handle_completed_operations( &mut self, completed: Vec<(u64, OperationSelection)>, ) -> Task<Message>
fn handle_operation_errors( &mut self, errors: Vec<(u64, OperationError)>, ) -> Task<Message>
fn remove_window(&mut self, id: &Id)
fn rescan_operation_selection( &mut self, op_sel: OperationSelection, ) -> Task<Message>
fn update_tab( &mut self, entity: Entity, location: Location, selection_paths: Option<Vec<PathBuf>>, ) -> Task<Message>
fn rescan_tab( &mut self, entity: Entity, location: Location, selection_paths: Option<Vec<PathBuf>>, ) -> Task<Message>
fn rescan_trash(&mut self) -> Task<Message>
fn rescan_recents(&mut self) -> Task<Message>
fn search_get(&self) -> Option<&str>
fn search_set_active(&mut self, term_opt: Option<String>) -> Task<Message>
fn search_set( &mut self, tab: Entity, term_opt: Option<String>, selection_paths: Option<Vec<PathBuf>>, ) -> Task<Message>
fn selected_paths( &self, entity_opt: Option<Entity>, ) -> impl Iterator<Item = PathBuf> + use<'_>
fn selected_delete_paths( &self, entity_opt: Option<Entity>, ) -> impl Iterator<Item = PathBuf> + use<'_>
fn selected_uris( &self, entity_opt: Option<Entity>, ) -> impl Iterator<Item = String> + use<'_>
fn set_cut(&mut self, entity_opt: Option<Entity>)
fn update_config(&mut self) -> Task<Message>
fn update_desktop(&mut self) -> Task<Message>
fn update_notification(&mut self) -> Task<Message>
fn update_title(&mut self) -> Task<Message>
fn update_watcher(&mut self) -> Task<Message>
fn network_drive(&self) -> Element<'_, Message>
fn remote_drive(&self) -> Element<'_, Message>
fn desktop_view_options(&self) -> Element<'_, Message>
fn edit_history(&self) -> Element<'_, Message>
fn preview<'a>( &'a self, entity_opt: &Option<Entity>, kind: &'a PreviewKind, context_drawer: bool, ) -> Element<'a, Message>
fn settings(&self) -> Element<'_, Message>
fn tb_settings(&self) -> Element<'_, Message>
fn update_favorites( &mut self, path_changes: &[(impl AsRef<Path>, impl AsRef<Path>)], ) -> bool
Trait Implementations§
Source§impl Application for App
Implement [Application] to integrate with COSMIC.
impl Application for App
Implement [Application] to integrate with COSMIC.
Source§const APP_ID: &'static str = "com.system76.CosmicFiles"
const APP_ID: &'static str = "com.system76.CosmicFiles"
The unique application ID to supply to the window manager.
Source§fn init(core: Core, flags: Self::Flags) -> (Self, Task<Self::Message>)
fn init(core: Core, flags: Self::Flags) -> (Self, Task<Self::Message>)
Creates the application, and optionally emits command on initialize.
Source§fn update(&mut self, message: Self::Message) -> Task<Self::Message>
fn update(&mut self, message: Self::Message) -> Task<Self::Message>
Handle application events here.
Allows overriding the default nav bar widget.
Shows a context menu for the active nav bar item.
Allows COSMIC to integrate with your application’s [
nav_bar::Model].Called when a navigation item is selected.
Source§fn on_app_exit(&mut self) -> Option<Message>
fn on_app_exit(&mut self) -> Option<Message>
Called before closing the application. Returning a message will override closing windows.
Source§fn on_close_requested(&self, id: Id) -> Option<Self::Message>
fn on_close_requested(&self, id: Id) -> Option<Self::Message>
Called when a window requests to be closed.
fn on_context_drawer(&mut self) -> Task<Self::Message>
Source§fn context_drawer(&self) -> Option<ContextDrawer<'_, Message>>
fn context_drawer(&self) -> Option<ContextDrawer<'_, Message>>
Displays a context drawer on the side of the application window when
Some.
Use the [ApplicationExt::set_show_context] function for this to take effect.Source§fn dialog(&self) -> Option<Element<'_, Message>>
fn dialog(&self) -> Option<Element<'_, Message>>
Displays a dialog in the center of the application window when
Some.Displays a footer at the bottom of the application window when
Some.Source§fn header_start(&self) -> Vec<Element<'_, Self::Message>> ⓘ
fn header_start(&self) -> Vec<Element<'_, Self::Message>> ⓘ
Attaches elements to the start section of the header.
Source§fn header_end(&self) -> Vec<Element<'_, Self::Message>> ⓘ
fn header_end(&self) -> Vec<Element<'_, Self::Message>> ⓘ
Attaches elements to the end section of the header.
Source§fn view_window(&self, id: WindowId) -> Element<'_, Self::Message>
fn view_window(&self, id: WindowId) -> Element<'_, Self::Message>
Constructs views for other windows.
Source§fn system_theme_update(
&mut self,
_keys: &[&'static str],
_new_theme: &Theme,
) -> Task<Self::Message>
fn system_theme_update( &mut self, _keys: &[&'static str], _new_theme: &Theme, ) -> Task<Self::Message>
Respond to a system theme change
Source§fn subscription(&self) -> Subscription<Self::Message>
fn subscription(&self) -> Subscription<Self::Message>
Event sources that are to be listened to.
§fn header_center(&self) -> Vec<Element<'_, Self::Message, Theme, Renderer>>
fn header_center(&self) -> Vec<Element<'_, Self::Message, Theme, Renderer>>
Attaches elements to the center of the header.
Called when a context menu is requested for a navigation item.
§fn on_search(&mut self) -> Task<Action<Self::Message>>
fn on_search(&mut self) -> Task<Action<Self::Message>>
Called when the search function is requested.
§fn on_window_resize(&mut self, id: Id, width: f32, height: f32)
fn on_window_resize(&mut self, id: Id, width: f32, height: f32)
Called when a window is resized.
§fn system_theme_mode_update(
&mut self,
keys: &[&'static str],
new_theme: &ThemeMode,
) -> Task<Action<Self::Message>>
fn system_theme_mode_update( &mut self, keys: &[&'static str], new_theme: &ThemeMode, ) -> Task<Action<Self::Message>>
Respond to a system theme mode change
Auto Trait Implementations§
impl !Freeze for App
impl !RefUnwindSafe for App
impl !Send for App
impl !Sync for App
impl Unpin for App
impl !UnwindSafe for App
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
Convert the source color to the destination color using the specified
method.
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default.
§impl<T> Also for T
impl<T> Also for T
§impl<App> ApplicationExt for Appwhere
App: Application,
impl<App> ApplicationExt for Appwhere
App: Application,
§fn view_main(
&self,
) -> Element<'_, Action<<App as Application>::Message>, Theme, Renderer>
fn view_main( &self, ) -> Element<'_, Action<<App as Application>::Message>, Theme, Renderer>
Creates the view for the main window.
§fn set_window_title(
&mut self,
title: String,
id: Id,
) -> Task<Action<<App as Application>::Message>>
fn set_window_title( &mut self, title: String, id: Id, ) -> Task<Action<<App as Application>::Message>>
Set the title of a window.
§fn set_show_context(&mut self, show: bool)
fn set_show_context(&mut self, show: bool)
Set the context drawer visibility.
§fn set_header_title(&mut self, title: String)
fn set_header_title(&mut self, title: String)
Set the header bar title.
fn watch_config<T>(&self, id: &'static str) -> Subscription<Update<T>>
fn watch_state<T>(&self, id: &'static str) -> Subscription<Update<T>>
§impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
Source§impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
Source§fn arrays_from(colors: C) -> T
fn arrays_from(colors: C) -> T
Cast a collection of colors into a collection of arrays.
Source§impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
Source§fn arrays_into(self) -> C
fn arrays_into(self) -> C
Cast this collection of arrays into a collection of colors.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
Source§type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
The number type that’s used in
parameters when converting.Source§fn cam16_into_unclamped(
self,
parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>,
) -> T
fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>, ) -> T
Converts
self into C, using the provided parameters.§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
Source§fn components_from(colors: C) -> T
fn components_from(colors: C) -> T
Cast a collection of colors into a collection of color components.
§impl<F, T> ConvertInto<T> for Fwhere
T: ConvertFrom<F>,
impl<F, T> ConvertInto<T> for Fwhere
T: ConvertFrom<F>,
§fn convert_into(self) -> T
fn convert_into(self) -> T
Infallibly converts a value of type
Self to a value of type T.§impl<F, T> ConvertTryFrom<F> for Twhere
F: ConvertInto<T>,
impl<F, T> ConvertTryFrom<F> for Twhere
F: ConvertInto<T>,
§type Error = Infallible
type Error = Infallible
The type of an error that can occur during a conversion. Read more
§fn convert_try_from(value: F) -> Result<T, Infallible>
fn convert_try_from(value: F) -> Result<T, Infallible>
Fallibly converts a value of type
F to a value of type Self.§impl<F, T> ConvertTryInto<T> for Fwhere
T: ConvertTryFrom<F>,
impl<F, T> ConvertTryInto<T> for Fwhere
T: ConvertTryFrom<F>,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> FromAngle<T> for T
impl<T> FromAngle<T> for T
Source§fn from_angle(angle: T) -> T
fn from_angle(angle: T) -> T
Performs a conversion from
angle.Source§impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
Source§fn from_stimulus(other: U) -> T
fn from_stimulus(other: U) -> T
Converts
other into Self, while performing the appropriate scaling,
rounding and clamping.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
Source§fn into_angle(self) -> U
fn into_angle(self) -> U
Performs a conversion into
T.§impl<State, Message> IntoBoot<State, Message> for State
impl<State, Message> IntoBoot<State, Message> for State
Source§impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
Source§type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
The number type that’s used in
parameters when converting.Source§fn into_cam16_unclamped(
self,
parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>,
) -> T
fn into_cam16_unclamped( self, parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>, ) -> T
Converts
self into C, using the provided parameters.Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Convert into T with values clamped to the color defined bounds Read more
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoStimulus<T> for T
impl<T> IntoStimulus<T> for T
Source§fn into_stimulus(self) -> T
fn into_stimulus(self) -> T
Converts
self into T, while performing the appropriate scaling,
rounding and clamping.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.Source§impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
Source§type Error = <C as TryFromComponents<T>>::Error
type Error = <C as TryFromComponents<T>>::Error
The error for when
try_into_colors fails to cast.Source§fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
Try to cast this collection of color components into a collection of
colors. Read more
Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined
range, otherwise an
OutOfBounds error is returned which contains
the unclamped color. Read moreSource§impl<C, U> UintsFrom<C> for Uwhere
C: IntoUints<U>,
impl<C, U> UintsFrom<C> for Uwhere
C: IntoUints<U>,
Source§fn uints_from(colors: C) -> U
fn uints_from(colors: C) -> U
Cast a collection of colors into a collection of unsigned integers.
Source§impl<C, U> UintsInto<C> for Uwhere
C: FromUints<U>,
impl<C, U> UintsInto<C> for Uwhere
C: FromUints<U>,
Source§fn uints_into(self) -> C
fn uints_into(self) -> C
Cast this collection of unsigned integers into a collection of colors.