Struct bevy_steamworks::PersonaChange [−][src]
#[repr(C)]pub struct PersonaChange { /* fields omitted */ }
Implementations
impl PersonaChange
[src]
impl PersonaChange
[src]pub const NAME: PersonaChange
[src]
pub const STATUS: PersonaChange
[src]
pub const COME_ONLINE: PersonaChange
[src]
pub const GONE_OFFLINE: PersonaChange
[src]
pub const GAME_PLAYED: PersonaChange
[src]
pub const GAME_SERVER: PersonaChange
[src]
pub const AVATAR: PersonaChange
[src]
pub const JOINED_SOURCE: PersonaChange
[src]
pub const LEFT_SOURCE: PersonaChange
[src]
pub const RELATIONSHIP_CHANGE: PersonaChange
[src]
pub const NAME_FIRST_SET: PersonaChange
[src]
pub const FACEBOOK_INFO: PersonaChange
[src]
pub const NICKNAME: PersonaChange
[src]
pub const STEAM_LEVEL: PersonaChange
[src]
pub const fn empty() -> PersonaChange
[src]
pub const fn empty() -> PersonaChange
[src]Returns an empty set of flags
pub const fn all() -> PersonaChange
[src]
pub const fn all() -> PersonaChange
[src]Returns the set containing all flags.
pub fn from_bits(bits: i32) -> Option<PersonaChange>
[src]
pub fn from_bits(bits: i32) -> Option<PersonaChange>
[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: i32) -> PersonaChange
[src]
pub const fn from_bits_truncate(bits: i32) -> PersonaChange
[src]Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const unsafe fn from_bits_unchecked(bits: i32) -> PersonaChange
[src]
pub const unsafe fn from_bits_unchecked(bits: i32) -> PersonaChange
[src]Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
pub const fn intersects(&self, other: PersonaChange) -> bool
[src]
pub const fn intersects(&self, other: PersonaChange) -> bool
[src]Returns true
if there are flags common to both self
and other
.
pub const fn contains(&self, other: PersonaChange) -> bool
[src]
pub const fn contains(&self, other: PersonaChange) -> bool
[src]Returns true
all of the flags in other
are contained within self
.
pub fn insert(&mut self, other: PersonaChange)
[src]
pub fn insert(&mut self, other: PersonaChange)
[src]Inserts the specified flags in-place.
pub fn remove(&mut self, other: PersonaChange)
[src]
pub fn remove(&mut self, other: PersonaChange)
[src]Removes the specified flags in-place.
pub fn toggle(&mut self, other: PersonaChange)
[src]
pub fn toggle(&mut self, other: PersonaChange)
[src]Toggles the specified flags in-place.
pub fn set(&mut self, other: PersonaChange, value: bool)
[src]
pub fn set(&mut self, other: PersonaChange, value: bool)
[src]Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Binary for PersonaChange
[src]
impl Binary for PersonaChange
[src]impl BitAnd<PersonaChange> for PersonaChange
[src]
impl BitAnd<PersonaChange> for PersonaChange
[src]pub fn bitand(self, other: PersonaChange) -> PersonaChange
[src]
pub fn bitand(self, other: PersonaChange) -> PersonaChange
[src]Returns the intersection between the two sets of flags.
type Output = PersonaChange
type Output = PersonaChange
The resulting type after applying the &
operator.
impl BitAndAssign<PersonaChange> for PersonaChange
[src]
impl BitAndAssign<PersonaChange> for PersonaChange
[src]pub fn bitand_assign(&mut self, other: PersonaChange)
[src]
pub fn bitand_assign(&mut self, other: PersonaChange)
[src]Disables all flags disabled in the set.
impl BitOr<PersonaChange> for PersonaChange
[src]
impl BitOr<PersonaChange> for PersonaChange
[src]pub fn bitor(self, other: PersonaChange) -> PersonaChange
[src]
pub fn bitor(self, other: PersonaChange) -> PersonaChange
[src]Returns the union of the two sets of flags.
type Output = PersonaChange
type Output = PersonaChange
The resulting type after applying the |
operator.
impl BitOrAssign<PersonaChange> for PersonaChange
[src]
impl BitOrAssign<PersonaChange> for PersonaChange
[src]pub fn bitor_assign(&mut self, other: PersonaChange)
[src]
pub fn bitor_assign(&mut self, other: PersonaChange)
[src]Adds the set of flags.
impl BitXor<PersonaChange> for PersonaChange
[src]
impl BitXor<PersonaChange> for PersonaChange
[src]pub fn bitxor(self, other: PersonaChange) -> PersonaChange
[src]
pub fn bitxor(self, other: PersonaChange) -> PersonaChange
[src]Returns the left flags, but with all the right flags toggled.
type Output = PersonaChange
type Output = PersonaChange
The resulting type after applying the ^
operator.
impl BitXorAssign<PersonaChange> for PersonaChange
[src]
impl BitXorAssign<PersonaChange> for PersonaChange
[src]pub fn bitxor_assign(&mut self, other: PersonaChange)
[src]
pub fn bitxor_assign(&mut self, other: PersonaChange)
[src]Toggles the set of flags.
impl Clone for PersonaChange
[src]
impl Clone for PersonaChange
[src]pub fn clone(&self) -> PersonaChange
[src]
pub fn clone(&self) -> PersonaChange
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PersonaChange
[src]
impl Debug for PersonaChange
[src]impl Extend<PersonaChange> for PersonaChange
[src]
impl Extend<PersonaChange> for PersonaChange
[src]pub fn extend<T>(&mut self, iterator: T) where
T: IntoIterator<Item = PersonaChange>,
[src]
pub fn extend<T>(&mut self, iterator: T) where
T: IntoIterator<Item = PersonaChange>,
[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<PersonaChange> for PersonaChange
[src]
impl FromIterator<PersonaChange> for PersonaChange
[src]pub fn from_iter<T>(iterator: T) -> PersonaChange where
T: IntoIterator<Item = PersonaChange>,
[src]
pub fn from_iter<T>(iterator: T) -> PersonaChange where
T: IntoIterator<Item = PersonaChange>,
[src]Creates a value from an iterator. Read more
impl Hash for PersonaChange
[src]
impl Hash for PersonaChange
[src]impl LowerHex for PersonaChange
[src]
impl LowerHex for PersonaChange
[src]impl Not for PersonaChange
[src]
impl Not for PersonaChange
[src]pub fn not(self) -> PersonaChange
[src]
pub fn not(self) -> PersonaChange
[src]Returns the complement of this set of flags.
type Output = PersonaChange
type Output = PersonaChange
The resulting type after applying the !
operator.
impl Octal for PersonaChange
[src]
impl Octal for PersonaChange
[src]impl Ord for PersonaChange
[src]
impl Ord for PersonaChange
[src]impl PartialEq<PersonaChange> for PersonaChange
[src]
impl PartialEq<PersonaChange> for PersonaChange
[src]pub fn eq(&self, other: &PersonaChange) -> bool
[src]
pub fn eq(&self, other: &PersonaChange) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &PersonaChange) -> bool
[src]
pub fn ne(&self, other: &PersonaChange) -> bool
[src]This method tests for !=
.
impl PartialOrd<PersonaChange> for PersonaChange
[src]
impl PartialOrd<PersonaChange> for PersonaChange
[src]pub fn partial_cmp(&self, other: &PersonaChange) -> Option<Ordering>
[src]
pub fn partial_cmp(&self, other: &PersonaChange) -> 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 Sub<PersonaChange> for PersonaChange
[src]
impl Sub<PersonaChange> for PersonaChange
[src]pub fn sub(self, other: PersonaChange) -> PersonaChange
[src]
pub fn sub(self, other: PersonaChange) -> PersonaChange
[src]Returns the set difference of the two sets of flags.
type Output = PersonaChange
type Output = PersonaChange
The resulting type after applying the -
operator.
impl SubAssign<PersonaChange> for PersonaChange
[src]
impl SubAssign<PersonaChange> for PersonaChange
[src]pub fn sub_assign(&mut self, other: PersonaChange)
[src]
pub fn sub_assign(&mut self, other: PersonaChange)
[src]Disables all flags enabled in the set.
impl UpperHex for PersonaChange
[src]
impl UpperHex for PersonaChange
[src]impl Copy for PersonaChange
[src]
impl Eq for PersonaChange
[src]
impl StructuralEq for PersonaChange
[src]
impl StructuralPartialEq for PersonaChange
[src]
Auto Trait Implementations
impl RefUnwindSafe for PersonaChange
impl Send for PersonaChange
impl Sync for PersonaChange
impl Unpin for PersonaChange
impl UnwindSafe for PersonaChange
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,