Struct guion::event::compound::EventCompound[][src]

pub struct EventCompound<E> where
    E: Env
{ pub event: EEvent<E>, pub bounds: Bounds, pub ts: u64, pub filter: EEFilter<E>, pub style: EStyle<E>, pub flag: bool, }

Fields

event: EEvent<E>bounds: Boundsts: u64filter: EEFilter<E>style: EStyle<E>flag: bool

Implementations

impl<E> EventCompound<E> where
    E: Env
[src]

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]

Trait Implementations

impl<E> BitAnd<&'_ Bounds> for &EventCompound<E> where
    E: Env
[src]

type Output = EventCompound<E>

The resulting type after applying the & operator.

impl<E: Clone> Clone for EventCompound<E> where
    E: Env
[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

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

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

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

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<E, T> AtomState<E, T> for T where
    E: Env,
    T: Clone
[src]

impl<E, T> AtomStateMut<E, T> for T where
    E: Env,
    T: Clone
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> FromInto<U> for T where
    T: From<U> + Into<U>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.