Enum StyleLayerVisibility
#[non_exhaustive]pub enum StyleLayerVisibility {
Visible,
None,
Unknown(u32),
}Expand description
Whether a style layer draws.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
§impl StyleLayerVisibility
impl StyleLayerVisibility
pub fn from_raw(raw: u32) -> StyleLayerVisibility
pub fn raw_value(self) -> u32
Trait Implementations§
§impl Clone for StyleLayerVisibility
impl Clone for StyleLayerVisibility
§fn clone(&self) -> StyleLayerVisibility
fn clone(&self) -> StyleLayerVisibility
Returns a duplicate 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 more§impl Debug for StyleLayerVisibility
impl Debug for StyleLayerVisibility
§impl Hash for StyleLayerVisibility
impl Hash for StyleLayerVisibility
§impl PartialEq for StyleLayerVisibility
impl PartialEq for StyleLayerVisibility
impl Copy for StyleLayerVisibility
impl Eq for StyleLayerVisibility
impl StructuralPartialEq for StyleLayerVisibility
Auto Trait Implementations§
impl Freeze for StyleLayerVisibility
impl RefUnwindSafe for StyleLayerVisibility
impl Send for StyleLayerVisibility
impl Sync for StyleLayerVisibility
impl Unpin for StyleLayerVisibility
impl UnsafeUnpin for StyleLayerVisibility
impl UnwindSafe for StyleLayerVisibility
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