pub struct PrimitiveFlags {
pub is_backface_visible: bool,
pub is_scrollbar_container: bool,
pub is_scrollbar_thumb: bool,
}
Fields§
§is_backface_visible: bool
The CSS backface-visibility property (yes, it can be really granular)
is_scrollbar_container: bool
If set, this primitive represents a scroll bar container
is_scrollbar_thumb: bool
If set, this primitive represents a scroll bar thumb
Trait Implementations§
Source§impl Clone for PrimitiveFlags
impl Clone for PrimitiveFlags
Source§fn clone(&self) -> PrimitiveFlags
fn clone(&self) -> PrimitiveFlags
Returns a copy 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 PrimitiveFlags
impl Debug for PrimitiveFlags
Source§impl Hash for PrimitiveFlags
impl Hash for PrimitiveFlags
Source§impl Ord for PrimitiveFlags
impl Ord for PrimitiveFlags
Source§fn cmp(&self, other: &PrimitiveFlags) -> Ordering
fn cmp(&self, other: &PrimitiveFlags) -> 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 PrimitiveFlags
impl PartialEq for PrimitiveFlags
Source§impl PartialOrd for PrimitiveFlags
impl PartialOrd for PrimitiveFlags
impl Copy for PrimitiveFlags
impl Eq for PrimitiveFlags
impl StructuralPartialEq for PrimitiveFlags
Auto Trait Implementations§
impl Freeze for PrimitiveFlags
impl RefUnwindSafe for PrimitiveFlags
impl Send for PrimitiveFlags
impl Sync for PrimitiveFlags
impl Unpin for PrimitiveFlags
impl UnwindSafe for PrimitiveFlags
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)