pub struct LocalMonitor { /* private fields */ }Expand description
a monitor but stores the pixel localy, and can send only changed pixels
x, y starts with 1
Implementations§
Source§impl LocalMonitor
impl LocalMonitor
Source§impl LocalMonitor
impl LocalMonitor
pub fn clear_with(&mut self, color: ColorId)
Trait Implementations§
Source§impl Clone for LocalMonitor
impl Clone for LocalMonitor
Source§fn clone(&self) -> LocalMonitor
fn clone(&self) -> LocalMonitor
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 LocalMonitor
impl Debug for LocalMonitor
Source§impl Hash for LocalMonitor
impl Hash for LocalMonitor
Source§impl Ord for LocalMonitor
impl Ord for LocalMonitor
Source§fn cmp(&self, other: &LocalMonitor) -> Ordering
fn cmp(&self, other: &LocalMonitor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocalMonitor
impl PartialEq for LocalMonitor
Source§impl PartialOrd for LocalMonitor
impl PartialOrd for LocalMonitor
impl Eq for LocalMonitor
impl StructuralPartialEq for LocalMonitor
Auto Trait Implementations§
impl Freeze for LocalMonitor
impl RefUnwindSafe for LocalMonitor
impl Send for LocalMonitor
impl Sync for LocalMonitor
impl Unpin for LocalMonitor
impl UnwindSafe for LocalMonitor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> MutableInit for T
impl<T> MutableInit for T
Source§fn mutable_init<F>(self, f: F) -> T
fn mutable_init<F>(self, f: F) -> T
a method takes an owned value, changes it in a closure, then return it; Read more