pub enum TextEditSet {
Producers,
Apply,
Mirror,
}Expand description
Cross-crate SystemSet labels for the text-editing pipeline.
lumen-input tags its request producers (type_into_focused,
route_ime_events, text_pointer_to_caret, text_pointer_drag_select,
cycle_focus_on_tab) with Self::Producers;
lumen_text_edit::TextEditPlugin schedules the single mutator
Self::Apply after that set and the content mirror Self::Mirror
after the mutator. Anchoring the edges on shared set labels (rather
than function references) keeps the two crates decoupled: either
plugin can be installed alone and the .after(set) edges are inert
against an empty set.
Variants§
Producers
Systems that emit TextEditRequest or mutate the legacy
TextContent / TextInput pair directly.
Apply
The single mutator (text_apply_edits).
Mirror
Post-mutation mirroring back into TextContent / TextInput.
Trait Implementations§
Source§impl Clone for TextEditSet
impl Clone for TextEditSet
Source§fn clone(&self) -> TextEditSet
fn clone(&self) -> TextEditSet
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TextEditSet
impl Debug for TextEditSet
Source§impl Hash for TextEditSet
impl Hash for TextEditSet
Source§impl PartialEq for TextEditSet
impl PartialEq for TextEditSet
Source§fn eq(&self, other: &TextEditSet) -> bool
fn eq(&self, other: &TextEditSet) -> bool
self and other values to be equal, and is used by ==.Source§impl SystemSet for TextEditSet
impl SystemSet for TextEditSet
§fn system_type(&self) -> Option<TypeId>
fn system_type(&self) -> Option<TypeId>
Some if this system set is a [SystemTypeSet].§fn is_anonymous(&self) -> bool
fn is_anonymous(&self) -> bool
true if this system set is an [AnonymousSet].impl Copy for TextEditSet
impl Eq for TextEditSet
impl StructuralPartialEq for TextEditSet
Auto Trait Implementations§
impl Freeze for TextEditSet
impl RefUnwindSafe for TextEditSet
impl Send for TextEditSet
impl Sync for TextEditSet
impl Unpin for TextEditSet
impl UnsafeUnpin for TextEditSet
impl UnwindSafe for TextEditSet
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> DynEq for T
impl<T> DynEq for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
§impl<S> IntoScheduleConfigs<Interned<dyn SystemSet>, ()> for Swhere
S: SystemSet,
impl<S> IntoScheduleConfigs<Interned<dyn SystemSet>, ()> for Swhere
S: SystemSet,
§fn into_configs(self) -> ScheduleConfigs<Interned<dyn SystemSet>>
fn into_configs(self) -> ScheduleConfigs<Interned<dyn SystemSet>>
ScheduleConfigs].§fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn before<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
§fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn after<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
§fn before_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn before_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set. Read more§fn after_ignore_deferred<M>(
self,
set: impl IntoSystemSet<M>,
) -> ScheduleConfigs<T>
fn after_ignore_deferred<M>( self, set: impl IntoSystemSet<M>, ) -> ScheduleConfigs<T>
set. Read more§fn distributive_run_if<M>(
self,
condition: impl SystemCondition<M> + Clone,
) -> ScheduleConfigs<T>
fn distributive_run_if<M>( self, condition: impl SystemCondition<M> + Clone, ) -> ScheduleConfigs<T>
§fn run_if<M>(self, condition: impl SystemCondition<M>) -> ScheduleConfigs<T>
fn run_if<M>(self, condition: impl SystemCondition<M>) -> ScheduleConfigs<T>
§fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
fn ambiguous_with<M>(self, set: impl IntoSystemSet<M>) -> ScheduleConfigs<T>
set.§fn ambiguous_with_all(self) -> ScheduleConfigs<T>
fn ambiguous_with_all(self) -> ScheduleConfigs<T>
§fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
fn chain_ignore_deferred(self) -> ScheduleConfigs<T>
§impl<S> IntoSystemSet<()> for Swhere
S: SystemSet,
impl<S> IntoSystemSet<()> for Swhere
S: SystemSet,
§fn into_system_set(self) -> <S as IntoSystemSet<()>>::Set
fn into_system_set(self) -> <S as IntoSystemSet<()>>::Set
SystemSet type.