#[repr(C)]pub struct RPluginError {
pub kind: RPluginErrorKind,
pub message: String,
}Fields§
§kind: RPluginErrorKind§message: StringImplementations§
Source§impl RPluginErrorwhere
Struct<FieldPair<RPluginErrorKind, String>>: IStable,
String: IStable,
RPluginErrorKind: IStable,
impl RPluginErrorwhere
Struct<FieldPair<RPluginErrorKind, String>>: IStable,
String: IStable,
RPluginErrorKind: IStable,
Sourcepub const fn has_optimal_layout() -> bool
pub const fn has_optimal_layout() -> bool
Returns true if the layout for RPluginError is smaller or equal to that Rust would have generated for it.
Trait Implementations§
Source§impl Clone for RPluginError
impl Clone for RPluginError
Source§fn clone(&self) -> RPluginError
fn clone(&self) -> RPluginError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RPluginError
impl Debug for RPluginError
Source§impl From<PluginError> for RPluginError
impl From<PluginError> for RPluginError
Source§fn from(e: PluginError) -> Self
fn from(e: PluginError) -> Self
Converts to this type from the input type.
Source§impl From<RPluginError> for PluginError
impl From<RPluginError> for PluginError
Source§fn from(r: RPluginError) -> Self
fn from(r: RPluginError) -> Self
Converts to this type from the input type.
Source§impl IStable for RPluginErrorwhere
Struct<FieldPair<RPluginErrorKind, String>>: IStable,
String: IStable,
RPluginErrorKind: IStable,
impl IStable for RPluginErrorwhere
Struct<FieldPair<RPluginErrorKind, String>>: IStable,
String: IStable,
RPluginErrorKind: IStable,
Source§const REPORT: &'static TypeReport
const REPORT: &'static TypeReport
A compile-time generated report of the fields of the type, allowing for compatibility inspection.
Source§const ID: u64
const ID: u64
A stable (and ideally unique) identifier for the type. Often generated using
crate::report::gen_id, but can be manually set.Source§type ForbiddenValues = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
Source§type UnusedBits = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::UnusedBits
type UnusedBits = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::UnusedBits
The padding bits in the annotated types
Source§type Size = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::Size
type Size = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::Size
The size of the annotated type in bytes.
Source§type Align = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::Align
type Align = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::Align
The alignment of the annotated type in bytes.
Source§type HasExactlyOneNiche = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::HasExactlyOneNiche
Allows the detection of whether or not
core::option::Options are stable: Read moreSource§type ContainsIndirections = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::ContainsIndirections
type ContainsIndirections = <Struct<FieldPair<RPluginErrorKind, String>> as IStable>::ContainsIndirections
Whether or not the type contains indirections (pointers, indices in independent data-structures…)
Auto Trait Implementations§
impl Freeze for RPluginError
impl RefUnwindSafe for RPluginError
impl Send for RPluginError
impl Sync for RPluginError
impl Unpin for RPluginError
impl UnsafeUnpin for RPluginError
impl UnwindSafe for RPluginError
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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