pub struct PropertyGroup { /* private fields */ }Expand description
The CSS specification/module that a property belongs to.
Implementations§
Source§impl PropertyGroup
impl PropertyGroup
pub const Align: PropertyGroup
pub const AnchorPosition: PropertyGroup
pub const Animations: PropertyGroup
pub const Backgrounds: PropertyGroup
pub const Borders: PropertyGroup
pub const Box: PropertyGroup
pub const Break: PropertyGroup
pub const Cascade: PropertyGroup
pub const Color: PropertyGroup
pub const ColorAdjust: PropertyGroup
pub const ColorHdr: PropertyGroup
pub const Compositing: PropertyGroup
pub const Conditional: PropertyGroup
pub const Contain: PropertyGroup
pub const Content: PropertyGroup
pub const CounterStyle: PropertyGroup
pub const Display: PropertyGroup
pub const Exclusions: PropertyGroup
pub const FillStroke: PropertyGroup
pub const FilterEffects: PropertyGroup
pub const Flexbox: PropertyGroup
pub const Fonts: PropertyGroup
pub const Forms: PropertyGroup
pub const Gaps: PropertyGroup
pub const Gcpm: PropertyGroup
pub const Grid: PropertyGroup
pub const Images: PropertyGroup
pub const ImageAnimation: PropertyGroup
pub const Inline: PropertyGroup
pub const LineGrid: PropertyGroup
pub const LinkParams: PropertyGroup
pub const Lists: PropertyGroup
pub const Logical: PropertyGroup
pub const Masking: PropertyGroup
pub const Motion: PropertyGroup
pub const Multicol: PropertyGroup
pub const Overflow: PropertyGroup
pub const Overscroll: PropertyGroup
pub const Page: PropertyGroup
pub const PageFloats: PropertyGroup
pub const PointerAnimations: PropertyGroup
pub const Position: PropertyGroup
pub const Regions: PropertyGroup
pub const Rhythm: PropertyGroup
pub const RoundDisplay: PropertyGroup
pub const Ruby: PropertyGroup
pub const ScrollAnchoring: PropertyGroup
pub const ScrollAnimations: PropertyGroup
pub const ScrollSnap: PropertyGroup
pub const Scrollbars: PropertyGroup
pub const Shaders: PropertyGroup
pub const Shapes: PropertyGroup
pub const SizeAdjust: PropertyGroup
pub const Sizing: PropertyGroup
pub const Speech: PropertyGroup
pub const Tables: PropertyGroup
pub const Text: PropertyGroup
pub const TextDecor: PropertyGroup
pub const Transforms: PropertyGroup
pub const Transitions: PropertyGroup
pub const Ui: PropertyGroup
pub const Values: PropertyGroup
pub const Variables: PropertyGroup
pub const ViewTransitions: PropertyGroup
pub const Viewport: PropertyGroup
pub const WillChange: PropertyGroup
pub const WritingModes: PropertyGroup
Sourcepub const fn all_bits() -> Self
pub const fn all_bits() -> Self
Returns a bitmask that contains all values.
This will include bits that do not have any flags.
Use ::all_flags() if you only want to use flags.
Sourcepub const fn is_all_bits(&self) -> bool
pub const fn is_all_bits(&self) -> bool
Returns true if the bitmask contains all values.
This will check for bits == !0,
use .is_all_flags() if you only want to check for all flags
Sourcepub const fn is_all_flags(&self) -> bool
pub const fn is_all_flags(&self) -> bool
Returns true if the bitmask contains all flags.
This will fail if any unused bit is set,
consider using .truncate() first.
Sourcepub const fn all() -> Self
👎Deprecated: Please use the ::all_bits() constructor
pub const fn all() -> Self
::all_bits() constructorReturns a bitmask that contains all values.
This will include bits that do not have any flags.
Use ::all_flags() if you only want to use flags.
Sourcepub const fn is_all(&self) -> bool
👎Deprecated: Please use the .is_all_bits() method
pub const fn is_all(&self) -> bool
.is_all_bits() methodReturns true if the bitmask contains all values.
This will check for bits == !0,
use .is_all_flags() if you only want to check for all flags
Sourcepub const fn full() -> Self
👎Deprecated: Please use the ::all_flags() constructor
pub const fn full() -> Self
::all_flags() constructorReturns a bitmask that contains all flags.
Sourcepub const fn is_full(&self) -> bool
👎Deprecated: Please use the .is_all_flags() method
pub const fn is_full(&self) -> bool
.is_all_flags() methodReturns true if the bitmask contains all flags.
This will fail if any unused bit is set,
consider using .truncate() first.
Sourcepub const fn truncate(&self) -> Self
pub const fn truncate(&self) -> Self
Returns a bitmask that only has bits corresponding to flags
Sourcepub const fn intersects(&self, other: Self) -> bool
pub const fn intersects(&self, other: Self) -> bool
Returns true if self intersects with any value in other,
or if other does not contain any values.
This is equivalent to (self & other) != 0 || other == 0.
Trait Implementations§
Source§impl Binary for PropertyGroup
impl Binary for PropertyGroup
Source§impl BitAnd for PropertyGroup
impl BitAnd for PropertyGroup
Source§impl BitAndAssign for PropertyGroup
impl BitAndAssign for PropertyGroup
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&= operation. Read moreSource§impl BitOr for PropertyGroup
impl BitOr for PropertyGroup
Source§impl BitOrAssign for PropertyGroup
impl BitOrAssign for PropertyGroup
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|= operation. Read moreSource§impl BitXor for PropertyGroup
impl BitXor for PropertyGroup
Source§impl BitXorAssign for PropertyGroup
impl BitXorAssign for PropertyGroup
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^= operation. Read moreSource§impl Clone for PropertyGroup
impl Clone for PropertyGroup
Source§fn clone(&self) -> PropertyGroup
fn clone(&self) -> PropertyGroup
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more