pub struct WindowInstance {
pub open: i64,
pub close: i64,
pub has_triggered_and_emitted: bool,
}Fields§
§open: i64§close: i64§has_triggered_and_emitted: boolImplementations§
Source§impl WindowInstance
impl WindowInstance
pub fn new(open: i64, close: i64) -> Self
pub fn set_triggered_and_emitted(&mut self, val: bool)
pub fn is_same_window(&self, other: &WindowInstance) -> bool
Trait Implementations§
Source§impl Clone for WindowInstance
impl Clone for WindowInstance
Source§fn clone(&self) -> WindowInstance
fn clone(&self) -> WindowInstance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowInstance
impl Debug for WindowInstance
Source§impl Hash for WindowInstance
impl Hash for WindowInstance
Source§impl PartialEq for WindowInstance
impl PartialEq for WindowInstance
impl Eq for WindowInstance
Auto Trait Implementations§
impl Freeze for WindowInstance
impl RefUnwindSafe for WindowInstance
impl Send for WindowInstance
impl Sync for WindowInstance
impl Unpin for WindowInstance
impl UnwindSafe for WindowInstance
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
Mutably borrows from an owned value. Read more