Skip to main content

SemanticLabelsSupportFlagsFB

Struct SemanticLabelsSupportFlagsFB 

Source
pub struct SemanticLabelsSupportFlagsFB(/* private fields */);
Expand description

Implementations§

Source§

impl SemanticLabelsSupportFlagsFB

Source

pub const MULTIPLE_SEMANTIC_LABELS: SemanticLabelsSupportFlagsFB

If set, and the runtime reports the extensionVersion as 2 or greater, the runtime may: return multiple semantic labels separated by a comma without spaces. Otherwise, the runtime must: return a single semantic label.

Source

pub const ACCEPT_DESK_TO_TABLE_MIGRATION: SemanticLabelsSupportFlagsFB

If set, and the runtime reports the extensionVersion as 3 or greater, the runtime must: return “TABLE” instead of “DESK” as a semantic label to the application. Otherwise, the runtime must: return “DESK” instead of “TABLE” as a semantic label to the application, when applicable.

Source

pub const ACCEPT_INVISIBLE_WALL_FACE: SemanticLabelsSupportFlagsFB

If set, and the runtime reports the extensionVersion as 4 or greater, the runtime may: return “INVISIBLE_WALL_FACE” instead of “WALL_FACE” as a semantic label to the application in order to represent an invisible wall used to conceptually separate a space (e.g., separate a living space from a kitchen space in an open floor plan house even though there is no real wall between the two spaces) instead of a real wall. Otherwise, the runtime must: return “WALL_FACE” as a semantic label to the application in order to represent both an invisible and real wall, when applicable.

Source§

impl SemanticLabelsSupportFlagsFB

Source

pub const EMPTY: Self

Source

pub fn from_raw(x: u64) -> Self

Source

pub fn into_raw(self) -> u64

Source

pub fn is_empty(self) -> bool

Source

pub fn intersects(self, other: SemanticLabelsSupportFlagsFB) -> bool

Source

pub fn contains(self, other: SemanticLabelsSupportFlagsFB) -> bool

Returns whether other is a subset of self

Trait Implementations§

Source§

impl BitAnd for SemanticLabelsSupportFlagsFB

Source§

type Output = SemanticLabelsSupportFlagsFB

The resulting type after applying the & operator.
Source§

fn bitand( self, rhs: SemanticLabelsSupportFlagsFB, ) -> SemanticLabelsSupportFlagsFB

Performs the & operation. Read more
Source§

impl BitAndAssign for SemanticLabelsSupportFlagsFB

Source§

fn bitand_assign(&mut self, rhs: SemanticLabelsSupportFlagsFB)

Performs the &= operation. Read more
Source§

impl BitOr for SemanticLabelsSupportFlagsFB

Source§

type Output = SemanticLabelsSupportFlagsFB

The resulting type after applying the | operator.
Source§

fn bitor( self, rhs: SemanticLabelsSupportFlagsFB, ) -> SemanticLabelsSupportFlagsFB

Performs the | operation. Read more
Source§

impl BitOrAssign for SemanticLabelsSupportFlagsFB

Source§

fn bitor_assign(&mut self, rhs: SemanticLabelsSupportFlagsFB)

Performs the |= operation. Read more
Source§

impl BitXor for SemanticLabelsSupportFlagsFB

Source§

type Output = SemanticLabelsSupportFlagsFB

The resulting type after applying the ^ operator.
Source§

fn bitxor( self, rhs: SemanticLabelsSupportFlagsFB, ) -> SemanticLabelsSupportFlagsFB

Performs the ^ operation. Read more
Source§

impl BitXorAssign for SemanticLabelsSupportFlagsFB

Source§

fn bitxor_assign(&mut self, rhs: SemanticLabelsSupportFlagsFB)

Performs the ^= operation. Read more
Source§

impl Clone for SemanticLabelsSupportFlagsFB

Source§

fn clone(&self) -> SemanticLabelsSupportFlagsFB

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for SemanticLabelsSupportFlagsFB

Source§

impl Debug for SemanticLabelsSupportFlagsFB

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SemanticLabelsSupportFlagsFB

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for SemanticLabelsSupportFlagsFB

Source§

impl Not for SemanticLabelsSupportFlagsFB

Source§

type Output = SemanticLabelsSupportFlagsFB

The resulting type after applying the ! operator.
Source§

fn not(self) -> SemanticLabelsSupportFlagsFB

Performs the unary ! operation. Read more
Source§

impl PartialEq for SemanticLabelsSupportFlagsFB

Source§

fn eq(&self, other: &SemanticLabelsSupportFlagsFB) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for SemanticLabelsSupportFlagsFB

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.