Enum arcdps::exports::AddExtensionResult
source · #[repr(u32)]pub enum AddExtensionResult {
Ok = 0,
ExtensionError = 1,
ImGuiError = 2,
Obsolete = 3,
SigExists = 4,
NoExport = 5,
NoInit = 6,
LoadError = 7,
}
Expand description
Result of an add_extension
operation.
Variants§
Ok = 0
Extension was loaded successfully.
ExtensionError = 1
Extension-specific error.
ImGuiError = 2
ImGui version did not match.
Obsolete = 3
Obsolete ArcDPS module.
SigExists = 4
An extension with the same sig
already exists.
NoExport = 5
Extension did not provide callback function table.
NoInit = 6
Extension did not provide an init
function.
LoadError = 7
Failed to load extension module with LoadLibrary
.
Safe to call GetLastError
.
Trait Implementations§
source§impl Clone for AddExtensionResult
impl Clone for AddExtensionResult
source§fn clone(&self) -> AddExtensionResult
fn clone(&self) -> AddExtensionResult
Returns a copy 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 moresource§impl Debug for AddExtensionResult
impl Debug for AddExtensionResult
source§impl<'de> Deserialize<'de> for AddExtensionResult
impl<'de> Deserialize<'de> for AddExtensionResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for AddExtensionResult
impl Display for AddExtensionResult
source§impl<'_derivative_strum> From<&'_derivative_strum AddExtensionResult> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum AddExtensionResult> for &'static str
source§fn from(x: &'_derivative_strum AddExtensionResult) -> &'static str
fn from(x: &'_derivative_strum AddExtensionResult) -> &'static str
Converts to this type from the input type.
source§impl From<AddExtensionResult> for &'static str
impl From<AddExtensionResult> for &'static str
source§fn from(x: AddExtensionResult) -> &'static str
fn from(x: AddExtensionResult) -> &'static str
Converts to this type from the input type.
source§impl From<AddExtensionResult> for u32
impl From<AddExtensionResult> for u32
source§fn from(enum_value: AddExtensionResult) -> Self
fn from(enum_value: AddExtensionResult) -> Self
Converts to this type from the input type.
source§impl Hash for AddExtensionResult
impl Hash for AddExtensionResult
source§impl IntoEnumIterator for AddExtensionResult
impl IntoEnumIterator for AddExtensionResult
type Iterator = AddExtensionResultIter
fn iter() -> AddExtensionResultIter ⓘ
source§impl Ord for AddExtensionResult
impl Ord for AddExtensionResult
source§fn cmp(&self, other: &AddExtensionResult) -> Ordering
fn cmp(&self, other: &AddExtensionResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AddExtensionResult
impl PartialEq for AddExtensionResult
source§impl PartialOrd for AddExtensionResult
impl PartialOrd for AddExtensionResult
source§impl Serialize for AddExtensionResult
impl Serialize for AddExtensionResult
source§impl TryFrom<u32> for AddExtensionResult
impl TryFrom<u32> for AddExtensionResult
source§impl TryFromPrimitive for AddExtensionResult
impl TryFromPrimitive for AddExtensionResult
source§impl VariantNames for AddExtensionResult
impl VariantNames for AddExtensionResult
impl Copy for AddExtensionResult
impl Eq for AddExtensionResult
impl StructuralPartialEq for AddExtensionResult
Auto Trait Implementations§
impl Freeze for AddExtensionResult
impl RefUnwindSafe for AddExtensionResult
impl Send for AddExtensionResult
impl Sync for AddExtensionResult
impl Unpin for AddExtensionResult
impl UnwindSafe for AddExtensionResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)