pub struct SnapshotTruncation {
pub displays: bool,
pub windows: bool,
pub applications: bool,
}Expand description
Which categories of a ContentSnapshot may have been cut short by the
batch FFI scratch-buffer caps.
A flag is set when the bridge returned exactly as many entries as the
buffer could hold, which means the real list is at least that long and
may be longer. It is deliberately conservative: an exactly-full system
reports true even though nothing was actually dropped.
Fields§
§displays: boolThe display list saturated the 64-entry cap.
windows: boolThe window list saturated the 4096-entry cap.
applications: boolThe application list saturated the 1024-entry cap.
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotTruncation
impl Clone for SnapshotTruncation
Source§fn clone(&self) -> SnapshotTruncation
fn clone(&self) -> SnapshotTruncation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SnapshotTruncation
Source§impl Debug for SnapshotTruncation
impl Debug for SnapshotTruncation
Source§impl Default for SnapshotTruncation
impl Default for SnapshotTruncation
Source§fn default() -> SnapshotTruncation
fn default() -> SnapshotTruncation
Returns the “default value” for a type. Read more
impl Eq for SnapshotTruncation
Source§impl PartialEq for SnapshotTruncation
impl PartialEq for SnapshotTruncation
Source§fn eq(&self, other: &SnapshotTruncation) -> bool
fn eq(&self, other: &SnapshotTruncation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SnapshotTruncation
Auto Trait Implementations§
impl Freeze for SnapshotTruncation
impl RefUnwindSafe for SnapshotTruncation
impl Send for SnapshotTruncation
impl Sync for SnapshotTruncation
impl Unpin for SnapshotTruncation
impl UnsafeUnpin for SnapshotTruncation
impl UnwindSafe for SnapshotTruncation
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