Struct stabby::closure::StabbyVtableCall3
source · #[repr(C)]pub struct StabbyVtableCall3<O, I0, I1, I2> {
pub call: StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>,
}
Expand description
An stabby-generated item for Call3
Fields§
§call: StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>
An stabby-generated item for Call3
Implementations§
source§impl<O, I0, I1, I2> StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> StabbyVtableCall3<O, I0, I1, I2>
sourcepub const fn has_optimal_layout() -> bool
pub const fn has_optimal_layout() -> bool
Returns true if the layout for StabbyVtableCall3
is smaller or equal to that Rust would have generated for it.
Trait Implementations§
source§impl<O, I0, I1, I2> Clone for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> Clone for StabbyVtableCall3<O, I0, I1, I2>
source§fn clone(&self) -> StabbyVtableCall3<O, I0, I1, I2>
fn clone(&self) -> StabbyVtableCall3<O, I0, I1, I2>
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<O, I0, I1, I2> Debug for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> Debug for StabbyVtableCall3<O, I0, I1, I2>
source§impl<O, I0, I1, I2> Hash for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> Hash for StabbyVtableCall3<O, I0, I1, I2>
source§impl<'stabby_vt_lt, StabbyArbitraryType, O, I0, I1, I2> IConstConstructor<'stabby_vt_lt, StabbyArbitraryType> for StabbyVtableCall3<O, I0, I1, I2>where
StabbyArbitraryType: Call3<O, I0, I1, I2>,
O: 'stabby_vt_lt,
I0: 'stabby_vt_lt,
I1: 'stabby_vt_lt,
I2: 'stabby_vt_lt,
impl<'stabby_vt_lt, StabbyArbitraryType, O, I0, I1, I2> IConstConstructor<'stabby_vt_lt, StabbyArbitraryType> for StabbyVtableCall3<O, I0, I1, I2>where
StabbyArbitraryType: Call3<O, I0, I1, I2>,
O: 'stabby_vt_lt,
I0: 'stabby_vt_lt,
I1: 'stabby_vt_lt,
I2: 'stabby_vt_lt,
source§impl<O, I0, I1, I2> IStable for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> IStable for StabbyVtableCall3<O, I0, I1, I2>
§type ForbiddenValues = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
§type UnusedBits = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::UnusedBits
type UnusedBits = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::UnusedBits
The padding bits in the annotated types
§type Size = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::Size
type Size = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::Size
The size of the annotated type in bytes.
§type Align = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::Align
type Align = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::Align
The alignment of the annotated type in bytes.
§type HasExactlyOneNiche = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::HasExactlyOneNiche
Allows the detection of whether or not
core::option::Option
s are stable: Read more§type ContainsIndirections = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'static ()>> as IStable>::ContainsIndirections
type ContainsIndirections = <Struct<StableLike<extern "C" fn(_: &(), _: I0, _: I1, _: I2) -> O, &'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<O, I0, I1, I2> PartialEq for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> PartialEq for StabbyVtableCall3<O, I0, I1, I2>
source§fn eq(&self, other: &StabbyVtableCall3<O, I0, I1, I2>) -> bool
fn eq(&self, other: &StabbyVtableCall3<O, I0, I1, I2>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<O, I0, I1, I2> Copy for StabbyVtableCall3<O, I0, I1, I2>
Auto Trait Implementations§
impl<O, I0, I1, I2> Freeze for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> RefUnwindSafe for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> Send for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> Sync for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> Unpin for StabbyVtableCall3<O, I0, I1, I2>
impl<O, I0, I1, I2> UnwindSafe for StabbyVtableCall3<O, I0, I1, I2>
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