Struct stabby_abi::vtable::StabbyVtableAny
source · #[repr(C)]pub struct StabbyVtableAny {
pub report: StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>,
pub id: StableLike<extern "C" fn(_: &()) -> u64, &'static ()>,
}
Expand description
An stabby-generated item for Any
Fields§
§report: StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>
An stabby-generated item for Any
id: StableLike<extern "C" fn(_: &()) -> u64, &'static ()>
An stabby-generated item for Any
Implementations§
source§impl StabbyVtableAny
impl StabbyVtableAny
sourcepub const fn has_optimal_layout() -> bool
pub const fn has_optimal_layout() -> bool
Returns true if the layout for StabbyVtableAny
is smaller or equal to that Rust would have generated for it.
Trait Implementations§
source§impl Clone for StabbyVtableAny
impl Clone for StabbyVtableAny
source§impl Debug for StabbyVtableAny
impl Debug for StabbyVtableAny
source§impl Hash for StabbyVtableAny
impl Hash for StabbyVtableAny
source§impl<'stabby_vt_lt, StabbyArbitraryType> IConstConstructor<'stabby_vt_lt, StabbyArbitraryType> for StabbyVtableAnywhere
StabbyArbitraryType: Any,
impl<'stabby_vt_lt, StabbyArbitraryType> IConstConstructor<'stabby_vt_lt, StabbyArbitraryType> for StabbyVtableAnywhere
StabbyArbitraryType: Any,
source§impl IStable for StabbyVtableAnywhere
Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>>: IStable,
StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>: IStable,
StableLike<extern "C" fn(_: &()) -> u64, &'static ()>: IStable,
impl IStable for StabbyVtableAnywhere
Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>>: IStable,
StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>: IStable,
StableLike<extern "C" fn(_: &()) -> u64, &'static ()>: IStable,
§type ForbiddenValues = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
§type UnusedBits = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::UnusedBits
type UnusedBits = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::UnusedBits
The padding bits in the annotated types
§type Size = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::Size
type Size = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::Size
The size of the annotated type in bytes.
§type Align = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::Align
type Align = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::Align
The alignment of the annotated type in bytes.
§type HasExactlyOneNiche = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::HasExactlyOneNiche
Allows the detection of whether or not
core::option::Option
s are stable: Read more§type ContainsIndirections = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::ContainsIndirections
type ContainsIndirections = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> &'static TypeReport, &'static ()>, StableLike<extern "C" fn(_: &()) -> u64, &'static ()>>> as IStable>::ContainsIndirections
Whether or not the type contains indirections (pointers, indices in independent data-structures…)
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§impl PartialEq for StabbyVtableAny
impl PartialEq for StabbyVtableAny
impl Copy for StabbyVtableAny
Auto Trait Implementations§
impl Freeze for StabbyVtableAny
impl RefUnwindSafe for StabbyVtableAny
impl Send for StabbyVtableAny
impl Sync for StabbyVtableAny
impl Unpin for StabbyVtableAny
impl UnwindSafe for StabbyVtableAny
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