Enum ResourceLoadTaskType
#[repr(i32)]pub enum ResourceLoadTaskType {
LoadAndFinish = 0,
FinishOnly = 1,
}Expand description
Legacy version of enum “kanzi.ResourceManager.LoadTask.Type”. The type of the load task.
Variants§
LoadAndFinish = 0
Load task type with both loadFunction and finishFunction parts.
FinishOnly = 1
Load task type which does everything in the finishFunction only. The loadFunction is guaranteed to be not called for such tasks.
Implementations§
§impl ResourceLoadTaskType
impl ResourceLoadTaskType
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> ResourceLoadTaskType
Trait Implementations§
§impl Clone for ResourceLoadTaskType
impl Clone for ResourceLoadTaskType
§fn clone(&self) -> ResourceLoadTaskType
fn clone(&self) -> ResourceLoadTaskType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ResourceLoadTaskType
impl Debug for ResourceLoadTaskType
§impl Display for ResourceLoadTaskType
impl Display for ResourceLoadTaskType
§impl PartialEq for ResourceLoadTaskType
impl PartialEq for ResourceLoadTaskType
§impl VariantConstraint for ResourceLoadTaskType
impl VariantConstraint for ResourceLoadTaskType
§type DataArg<'a> = ResourceLoadTaskType
type DataArg<'a> = ResourceLoadTaskType
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = ResourceLoadTaskType
type RetArg = ResourceLoadTaskType
§fn as_arg(&self) -> <ResourceLoadTaskType as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <ResourceLoadTaskType as VariantConstraint>::DataArg<'_>
impl Copy for ResourceLoadTaskType
impl Eq for ResourceLoadTaskType
impl PropertyTypeConstraint for ResourceLoadTaskType
impl StructuralPartialEq for ResourceLoadTaskType
Auto Trait Implementations§
impl Freeze for ResourceLoadTaskType
impl RefUnwindSafe for ResourceLoadTaskType
impl Send for ResourceLoadTaskType
impl Sync for ResourceLoadTaskType
impl Unpin for ResourceLoadTaskType
impl UnwindSafe for ResourceLoadTaskType
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