Enum hapi_rs::geometry::HapiResult
source · #[repr(i32)]
#[non_exhaustive]
pub enum HapiResult {
Show 21 variants
Success,
Failure,
AlreadyInitialized,
NotInitialized,
CantLoadfile,
ParmSetFailed,
InvalidArgument,
CantLoadGeo,
CantGeneratePreset,
CantLoadPreset,
AssetDefAlreadyLoaded,
NoLicenseFound,
DisallowedNcLicenseFound,
DisallowedNcAssetWithCLicense,
DisallowedNcAssetWithLcLicense,
DisallowedLcAssetWithCLicense,
DisallowedHengineindieW3partyPlugin,
AssetInvalid,
NodeInvalid,
UserInterrupted,
InvalidSession,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success
Failure
AlreadyInitialized
NotInitialized
CantLoadfile
ParmSetFailed
InvalidArgument
CantLoadGeo
CantGeneratePreset
CantLoadPreset
AssetDefAlreadyLoaded
NoLicenseFound
DisallowedNcLicenseFound
DisallowedNcAssetWithCLicense
DisallowedNcAssetWithLcLicense
DisallowedLcAssetWithCLicense
DisallowedHengineindieW3partyPlugin
AssetInvalid
NodeInvalid
UserInterrupted
InvalidSession
Trait Implementations
sourceimpl Clone for HapiResult
impl Clone for HapiResult
sourcefn clone(&self) -> HapiResult
fn clone(&self) -> HapiResult
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 moresourceimpl Debug for HapiResult
impl Debug for HapiResult
sourceimpl From<HapiResult> for HapiError
impl From<HapiResult> for HapiError
sourcefn from(r: HapiResult) -> Self
fn from(r: HapiResult) -> Self
Converts to this type from the input type.
sourceimpl Hash for HapiResult
impl Hash for HapiResult
sourceimpl PartialEq<HapiResult> for HapiResult
impl PartialEq<HapiResult> for HapiResult
sourcefn eq(&self, other: &HapiResult) -> bool
fn eq(&self, other: &HapiResult) -> bool
impl Copy for HapiResult
impl Eq for HapiResult
impl StructuralEq for HapiResult
impl StructuralPartialEq for HapiResult
Auto Trait Implementations
impl RefUnwindSafe for HapiResult
impl Send for HapiResult
impl Sync for HapiResult
impl Unpin for HapiResult
impl UnwindSafe for HapiResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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