CompositionInteractionSourceCollection
struct · ferroui-base · v0.5.0
struct CompositionInteractionSourceCollection
The sources of a tracker (CompositionInteractionSourceCollection).
Members
add
fn add(self: &Self, source: Rc<VisualInteractionSource>)
Adds a source: its input drives the tracker from now on. Adding a source twice does nothing.
remove
fn remove(self: &Self, source: &Rc<VisualInteractionSource>)
Removes a source.
remove_all
fn remove_all(self: &Self)
Removes every source.
count
fn count(self: &Self) -> usize
The number of sources.
items
fn items(self: &Self) -> Vec<Rc<VisualInteractionSource>>
The sources, in the order they were added.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.