Skip to main content

LonghandIdSet

Type Alias LonghandIdSet 

Source
pub type LonghandIdSet = IdSet<LonghandId, { _ }>;
Expand description

A set of longhand properties.

Aliased Type§

pub struct LonghandIdSet { /* private fields */ }

Implementations§

Source§

impl LonghandIdSet

Source

pub fn margin_properties() -> &'static Self

Returns the set of margin properties, for the purposes of

use counters / warnings.

Source

pub fn border_background_properties() -> &'static Self

Returns the set of border properties for the purpose of disabling native appearance.

Source

pub fn zoom_dependent() -> &'static Self

Returns properties that are zoom dependent (basically, that contain lengths).

Source

pub fn zoom_dependent_inherited_properties() -> &'static Self

Note that it’s different from zoom_dependent(), as this only includes inherited, physical properties.

Source§

impl LonghandIdSet

Source

pub fn contains_any_reset(&self) -> bool

Return whether this set contains any reset longhand.

Trait Implementations§

Source§

impl ToShmem for LonghandIdSet

Source§

fn to_shmem(&self, _builder: &mut SharedMemoryBuilder) -> Result<Self>

Clones this value into a form suitable for writing into a SharedMemoryBuilder. Read more