pub struct RecordingSummary {
pub has_text: bool,
pub has_shadow: bool,
pub has_non_shadow: bool,
pub has_pixel_sensitive: bool,
pub has_shapes: bool,
pub has_others: bool,
pub has_content_markers: bool,
}Expand description
What a recording contains, answered once while recording so no consumer rescans it.
Fields§
§has_text: boolAny text, including inside a blend: glyph masks want rigid snapping.
has_shadow: boolAny shadow, including inside a blend.
has_non_shadow: boolAny drawable primitive besides a shadow, including inside a blend.
has_pixel_sensitive: boolAny image or text, including inside a blend: content that resamples badly on a fractionally offset surface.
has_shapes: boolAny entry in the shape tables.
has_others: boolAny primitive outside the shape tables.
has_content_markers: boolAny marker where a with-content command draws its node’s content.
Implementations§
Source§impl RecordingSummary
impl RecordingSummary
Sourcepub fn shapes_only(&self) -> bool
pub fn shapes_only(&self) -> bool
Whether the entries are shapes alone, with no other primitive or content marker between them, so one run draws them all.
Trait Implementations§
Source§impl Clone for RecordingSummary
impl Clone for RecordingSummary
impl Copy for RecordingSummary
Source§impl Debug for RecordingSummary
impl Debug for RecordingSummary
Source§impl Default for RecordingSummary
impl Default for RecordingSummary
impl Eq for RecordingSummary
Source§impl PartialEq for RecordingSummary
impl PartialEq for RecordingSummary
impl StructuralPartialEq for RecordingSummary
Auto Trait Implementations§
impl Freeze for RecordingSummary
impl RefUnwindSafe for RecordingSummary
impl Send for RecordingSummary
impl Sync for RecordingSummary
impl Unpin for RecordingSummary
impl UnsafeUnpin for RecordingSummary
impl UnwindSafe for RecordingSummary
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