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 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 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§fn eq(&self, other: &AddExtensionResult) -> bool
fn eq(&self, other: &AddExtensionResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AddExtensionResult
impl PartialOrd for AddExtensionResult
source§fn partial_cmp(&self, other: &AddExtensionResult) -> Option<Ordering>
fn partial_cmp(&self, other: &AddExtensionResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for AddExtensionResult
impl Serialize for AddExtensionResult
source§impl TryFrom<u32> for AddExtensionResult
impl TryFrom<u32> for AddExtensionResult
§type Error = TryFromPrimitiveError<AddExtensionResult>
type Error = TryFromPrimitiveError<AddExtensionResult>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for AddExtensionResult
impl TryFromPrimitive for AddExtensionResult
type Primitive = u32
type Error = TryFromPrimitiveError<AddExtensionResult>
const NAME: &'static str = "AddExtensionResult"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
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