Struct guion::event::compound::EventCompound [−][src]
Fields
event: EEvent<E>
bounds: Bounds
ts: u64
filter: EEFilter<E>
style: EStyle<E>
flag: bool
Implementations
impl<E> EventCompound<E> where
E: Env,
[src]
E: Env,
pub fn filter(&self, dest: &Link<'_, E>) -> Option<Self>
[src]
filter event by integrated filter
pub fn slice_bounds(&self, inner_relative: &Bounds) -> Self
[src]
pub fn inside_border(&self, b: &Border) -> Self
[src]
pub fn with_event(&self, e: EEvent<E>) -> Self
[src]
pub fn with_bounds(&self, b: Bounds) -> Self
[src]
pub fn with_filter(&self, f: EEFilter<E>) -> Self
[src]
pub fn with_style(&self, s: &EStyle<E>) -> Self
[src]
pub fn default_filter(&self) -> Self
[src]
pub fn filter_bounds(&self) -> Option<Self>
[src]
filter event just by bounds
pub fn filter_inside_bounds_by_style<S>(
&self,
selectags: S,
c: &mut E::Context
) -> Option<Self> where
ESSelector<E>: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
&self,
selectags: S,
c: &mut E::Context
) -> Option<Self> where
ESSelector<E>: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
Trait Implementations
impl<E> BitAnd<&'_ Bounds> for &EventCompound<E> where
E: Env,
[src]
E: Env,
type Output = EventCompound<E>
The resulting type after applying the &
operator.
fn bitand(self, rhs: &Bounds) -> EventCompound<E>
[src]
impl<E: Clone> Clone for EventCompound<E> where
E: Env,
[src]
E: Env,
fn clone(&self) -> EventCompound<E>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for EventCompound<E> where
<<E as Env>::Backend as Backend<E>>::Event: RefUnwindSafe,
<<E as Env>::Backend as Backend<E>>::EventFilter: RefUnwindSafe,
<<E as Env>::Backend as Backend<E>>::Style: RefUnwindSafe,
<<E as Env>::Backend as Backend<E>>::Event: RefUnwindSafe,
<<E as Env>::Backend as Backend<E>>::EventFilter: RefUnwindSafe,
<<E as Env>::Backend as Backend<E>>::Style: RefUnwindSafe,
impl<E> Send for EventCompound<E> where
<<E as Env>::Backend as Backend<E>>::Event: Send,
<<E as Env>::Backend as Backend<E>>::EventFilter: Send,
<<E as Env>::Backend as Backend<E>>::Style: Send,
<<E as Env>::Backend as Backend<E>>::Event: Send,
<<E as Env>::Backend as Backend<E>>::EventFilter: Send,
<<E as Env>::Backend as Backend<E>>::Style: Send,
impl<E> Sync for EventCompound<E> where
<<E as Env>::Backend as Backend<E>>::Event: Sync,
<<E as Env>::Backend as Backend<E>>::EventFilter: Sync,
<<E as Env>::Backend as Backend<E>>::Style: Sync,
<<E as Env>::Backend as Backend<E>>::Event: Sync,
<<E as Env>::Backend as Backend<E>>::EventFilter: Sync,
<<E as Env>::Backend as Backend<E>>::Style: Sync,
impl<E> Unpin for EventCompound<E> where
<<E as Env>::Backend as Backend<E>>::Event: Unpin,
<<E as Env>::Backend as Backend<E>>::EventFilter: Unpin,
<<E as Env>::Backend as Backend<E>>::Style: Unpin,
<<E as Env>::Backend as Backend<E>>::Event: Unpin,
<<E as Env>::Backend as Backend<E>>::EventFilter: Unpin,
<<E as Env>::Backend as Backend<E>>::Style: Unpin,
impl<E> UnwindSafe for EventCompound<E> where
<<E as Env>::Backend as Backend<E>>::Event: UnwindSafe,
<<E as Env>::Backend as Backend<E>>::EventFilter: UnwindSafe,
<<E as Env>::Backend as Backend<E>>::Style: UnwindSafe,
<<E as Env>::Backend as Backend<E>>::Event: UnwindSafe,
<<E as Env>::Backend as Backend<E>>::EventFilter: UnwindSafe,
<<E as Env>::Backend as Backend<E>>::Style: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E, T> AtomState<E, T> for T where
E: Env,
T: Clone,
[src]
E: Env,
T: Clone,
impl<E, T> AtomStateMut<E, T> for T where
E: Env,
T: Clone,
[src]
E: Env,
T: Clone,
pub fn set_direct(&mut Self, T) -> Result<(), ()>
[src]
fn set(&mut self, v: T, _: &mut E::Context)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> FromInto<U> for T where
T: From<U> + Into<U>,
[src]
T: From<U> + Into<U>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
pub fn append(&mut Self, &S)
[src]
fn with(&self, selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
fn from(selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
[src]
T: StyleSelectorAppend<S, E>,
S: StyleSelectag<E>,
pub fn append(&mut Self, &[S])
[src]
fn with(&self, selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
fn from(selectag: S) -> Self where
Self: Sized,
[src]
Self: Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,