Enum ark_api::world::RetrieveDataType
source · [−]#[repr(u32)]
#[non_exhaustive]
pub enum RetrieveDataType {
Output,
Info,
WorldDataType,
}
Expand description
Type describing what data to retrieve with world__retrieve_data
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Output
Can be used to currently retrieve strings and binary data (entity names and reflection).
Info
Returns data type specific information (for instance AudioClipInfo
for CreateDataType::AudioClipOgg
and CreateDataType::AudioClipWav
)
WorldDataType
Trait Implementations
sourceimpl CheckedBitPattern for RetrieveDataType
impl CheckedBitPattern for RetrieveDataType
type Bits = u32
type Bits = u32
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
. Read more
sourcefn is_valid_bit_pattern(
bits: &<RetrieveDataType as CheckedBitPattern>::Bits
) -> bool
fn is_valid_bit_pattern(
bits: &<RetrieveDataType as CheckedBitPattern>::Bits
) -> bool
If this function returns true, then it must be valid to reinterpret bits
as &Self
. Read more
sourceimpl Clone for RetrieveDataType
impl Clone for RetrieveDataType
sourcefn clone(&self) -> RetrieveDataType
fn clone(&self) -> RetrieveDataType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RetrieveDataType
impl Debug for RetrieveDataType
sourceimpl Hash for RetrieveDataType
impl Hash for RetrieveDataType
sourceimpl PartialEq<RetrieveDataType> for RetrieveDataType
impl PartialEq<RetrieveDataType> for RetrieveDataType
sourcefn eq(&self, other: &RetrieveDataType) -> bool
fn eq(&self, other: &RetrieveDataType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryFrom<u32> for RetrieveDataType
impl TryFrom<u32> for RetrieveDataType
type Error = TryFromPrimitiveError<RetrieveDataType>
type Error = TryFromPrimitiveError<RetrieveDataType>
The type returned in the event of a conversion error.
sourcefn try_from(
number: u32
) -> Result<RetrieveDataType, TryFromPrimitiveError<RetrieveDataType>>
fn try_from(
number: u32
) -> Result<RetrieveDataType, TryFromPrimitiveError<RetrieveDataType>>
Performs the conversion.
sourceimpl TryFromPrimitive for RetrieveDataType
impl TryFromPrimitive for RetrieveDataType
type Primitive = u32
const NAME: &'static str = "RetrieveDataType"
fn try_from_primitive(
number: <RetrieveDataType as TryFromPrimitive>::Primitive
) -> Result<RetrieveDataType, TryFromPrimitiveError<RetrieveDataType>>
impl Copy for RetrieveDataType
impl Eq for RetrieveDataType
impl NoUninit for RetrieveDataType
impl StructuralEq for RetrieveDataType
impl StructuralPartialEq for RetrieveDataType
Auto Trait Implementations
impl RefUnwindSafe for RetrieveDataType
impl Send for RetrieveDataType
impl Sync for RetrieveDataType
impl Unpin for RetrieveDataType
impl UnwindSafe for RetrieveDataType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more