Struct bevy_steamworks::ItemState [−][src]
pub struct ItemState { /* fields omitted */ }
Implementations
impl ItemState
[src]
impl ItemState
[src]pub const NONE: ItemState
[src]
pub const SUBSCRIBED: ItemState
[src]
pub const LEGACY_ITEM: ItemState
[src]
pub const INSTALLED: ItemState
[src]
pub const NEEDS_UPDATE: ItemState
[src]
pub const DOWNLOADING: ItemState
[src]
pub const DOWNLOAD_PENDING: ItemState
[src]
pub fn from_bits(bits: u32) -> Option<ItemState>
[src]
pub fn from_bits(bits: u32) -> Option<ItemState>
[src]Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub const fn from_bits_truncate(bits: u32) -> ItemState
[src]
pub const fn from_bits_truncate(bits: u32) -> ItemState
[src]Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const unsafe fn from_bits_unchecked(bits: u32) -> ItemState
[src]
pub const unsafe fn from_bits_unchecked(bits: u32) -> ItemState
[src]Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
pub const fn intersects(&self, other: ItemState) -> bool
[src]
pub const fn intersects(&self, other: ItemState) -> bool
[src]Returns true
if there are flags common to both self
and other
.
Trait Implementations
impl BitAndAssign<ItemState> for ItemState
[src]
impl BitAndAssign<ItemState> for ItemState
[src]pub fn bitand_assign(&mut self, other: ItemState)
[src]
pub fn bitand_assign(&mut self, other: ItemState)
[src]Disables all flags disabled in the set.
impl BitOrAssign<ItemState> for ItemState
[src]
impl BitOrAssign<ItemState> for ItemState
[src]pub fn bitor_assign(&mut self, other: ItemState)
[src]
pub fn bitor_assign(&mut self, other: ItemState)
[src]Adds the set of flags.
impl BitXorAssign<ItemState> for ItemState
[src]
impl BitXorAssign<ItemState> for ItemState
[src]pub fn bitxor_assign(&mut self, other: ItemState)
[src]
pub fn bitxor_assign(&mut self, other: ItemState)
[src]Toggles the set of flags.
impl Extend<ItemState> for ItemState
[src]
impl Extend<ItemState> for ItemState
[src]pub fn extend<T>(&mut self, iterator: T) where
T: IntoIterator<Item = ItemState>,
[src]
pub fn extend<T>(&mut self, iterator: T) where
T: IntoIterator<Item = ItemState>,
[src]Extends a collection with the contents of an iterator. Read more
fn extend_one(&mut self, item: A)
[src]
fn extend_one(&mut self, item: A)
[src]extend_one
)Extends a collection with exactly one element.
fn extend_reserve(&mut self, additional: usize)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
impl FromIterator<ItemState> for ItemState
[src]
impl FromIterator<ItemState> for ItemState
[src]impl Ord for ItemState
[src]
impl Ord for ItemState
[src]impl PartialOrd<ItemState> for ItemState
[src]
impl PartialOrd<ItemState> for ItemState
[src]pub fn partial_cmp(&self, other: &ItemState) -> Option<Ordering>
[src]
pub fn partial_cmp(&self, other: &ItemState) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl SubAssign<ItemState> for ItemState
[src]
impl SubAssign<ItemState> for ItemState
[src]pub fn sub_assign(&mut self, other: ItemState)
[src]
pub fn sub_assign(&mut self, other: ItemState)
[src]Disables all flags enabled in the set.
impl Copy for ItemState
[src]
impl Eq for ItemState
[src]
impl StructuralEq for ItemState
[src]
impl StructuralPartialEq for ItemState
[src]
Auto Trait Implementations
impl RefUnwindSafe for ItemState
impl Send for ItemState
impl Sync for ItemState
impl Unpin for ItemState
impl UnwindSafe for ItemState
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
pub fn clone_type_data(&self) -> Box<dyn TypeData + 'static, Global>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> Component for T where
T: 'static + Send + Sync,
[src]
T: 'static + Send + Sync,