pub struct ExperienceProperties(pub i32);Expand description
The bitfield of experience-info property flags (the PROPERTY_* constants).
Mirrors the viewer’s LLExperienceCache property bits, which it notes should
track the grid’s experience-api model.
Tuple Fields§
§0: i32Implementations§
Source§impl ExperienceProperties
impl ExperienceProperties
Sourcepub const fn is_invalid(self) -> bool
pub const fn is_invalid(self) -> bool
Whether the experience id is invalid (PROPERTY_INVALID).
Sourcepub const fn is_privileged(self) -> bool
pub const fn is_privileged(self) -> bool
Whether the experience is privileged (PROPERTY_PRIVILEGED).
Sourcepub const fn is_grid(self) -> bool
pub const fn is_grid(self) -> bool
Whether the experience is grid-wide (PROPERTY_GRID); otherwise it is
land-scoped.
Sourcepub const fn is_private(self) -> bool
pub const fn is_private(self) -> bool
Whether the experience is private (PROPERTY_PRIVATE).
Sourcepub const fn is_disabled(self) -> bool
pub const fn is_disabled(self) -> bool
Whether the experience is disabled (PROPERTY_DISABLED).
Sourcepub const fn is_suspended(self) -> bool
pub const fn is_suspended(self) -> bool
Whether the experience is suspended (PROPERTY_SUSPENDED).
Trait Implementations§
Source§impl Clone for ExperienceProperties
impl Clone for ExperienceProperties
Source§fn clone(&self) -> ExperienceProperties
fn clone(&self) -> ExperienceProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExperienceProperties
Source§impl Debug for ExperienceProperties
impl Debug for ExperienceProperties
Source§impl Default for ExperienceProperties
impl Default for ExperienceProperties
Source§fn default() -> ExperienceProperties
fn default() -> ExperienceProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExperienceProperties
impl<'de> Deserialize<'de> for ExperienceProperties
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExperienceProperties
Source§impl PartialEq for ExperienceProperties
impl PartialEq for ExperienceProperties
Source§impl Serialize for ExperienceProperties
impl Serialize for ExperienceProperties
impl StructuralPartialEq for ExperienceProperties
Auto Trait Implementations§
impl Freeze for ExperienceProperties
impl RefUnwindSafe for ExperienceProperties
impl Send for ExperienceProperties
impl Sync for ExperienceProperties
impl Unpin for ExperienceProperties
impl UnsafeUnpin for ExperienceProperties
impl UnwindSafe for ExperienceProperties
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