pub struct OwnDrawFacts {
pub pixel_sensitive: bool,
pub drawn: bool,
}Expand description
What a record’s own draws hold that decides how a renderer snaps them to the pixel grid.
Fields§
§pixel_sensitive: boolWhether a text or an image is among them: content whose pixels must land on the grid.
drawn: boolWhether one puts anything on the target beyond shadows and content slots.
Trait Implementations§
Source§impl Clone for OwnDrawFacts
impl Clone for OwnDrawFacts
impl Copy for OwnDrawFacts
Source§impl Debug for OwnDrawFacts
impl Debug for OwnDrawFacts
Source§impl Default for OwnDrawFacts
impl Default for OwnDrawFacts
impl Eq for OwnDrawFacts
Source§impl PartialEq for OwnDrawFacts
impl PartialEq for OwnDrawFacts
impl StructuralPartialEq for OwnDrawFacts
Auto Trait Implementations§
impl Forget for OwnDrawFacts
impl Freeze for OwnDrawFacts
impl Move for OwnDrawFacts
impl RefUnwindSafe for OwnDrawFacts
impl Send for OwnDrawFacts
impl Sync for OwnDrawFacts
impl Unpin for OwnDrawFacts
impl UnsafeUnpin for OwnDrawFacts
impl UnwindSafe for OwnDrawFacts
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