Struct stabby_abi::iter::StabbyVtableIterator
source · #[repr(C)]pub struct StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,{
pub size_hint: StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>,
pub next: StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>,
}
Expand description
An stabby-generated item for Iterator
Fields§
§size_hint: StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>
An stabby-generated item for Iterator
next: StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>
An stabby-generated item for Iterator
Implementations§
source§impl<_stabby_unselfed_0> StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
impl<_stabby_unselfed_0> StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
sourcepub const fn has_optimal_layout() -> bool
pub const fn has_optimal_layout() -> bool
Returns true if the layout for StabbyVtableIterator
is smaller or equal to that Rust would have generated for it.
Trait Implementations§
source§impl<_stabby_unselfed_0> Clone for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
impl<_stabby_unselfed_0> Clone for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
source§impl<_stabby_unselfed_0> Debug for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
impl<_stabby_unselfed_0> Debug for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
source§impl<_stabby_unselfed_0> Hash for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
impl<_stabby_unselfed_0> Hash for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
source§impl<'stabby_vt_lt, StabbyArbitraryType, _stabby_unselfed_0> IConstConstructor<'stabby_vt_lt, StabbyArbitraryType> for StabbyVtableIterator<_stabby_unselfed_0>where
StabbyArbitraryType: Iterator<Item = _stabby_unselfed_0>,
_stabby_unselfed_0: IDeterminantProvider<()> + 'stabby_vt_lt,
impl<'stabby_vt_lt, StabbyArbitraryType, _stabby_unselfed_0> IConstConstructor<'stabby_vt_lt, StabbyArbitraryType> for StabbyVtableIterator<_stabby_unselfed_0>where
StabbyArbitraryType: Iterator<Item = _stabby_unselfed_0>,
_stabby_unselfed_0: IDeterminantProvider<()> + 'stabby_vt_lt,
source§impl<_stabby_unselfed_0> IStable for StabbyVtableIterator<_stabby_unselfed_0>where
Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>>: IStable,
StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>: IStable,
StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>: IStable,
_stabby_unselfed_0: IDeterminantProvider<()>,
impl<_stabby_unselfed_0> IStable for StabbyVtableIterator<_stabby_unselfed_0>where
Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>>: IStable,
StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>: IStable,
StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>: IStable,
_stabby_unselfed_0: IDeterminantProvider<()>,
§type ForbiddenValues = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
§type UnusedBits = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::UnusedBits
type UnusedBits = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::UnusedBits
The padding bits in the annotated types
§type Size = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::Size
type Size = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::Size
The size of the annotated type in bytes.
§type Align = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::Align
type Align = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::Align
The alignment of the annotated type in bytes.
§type HasExactlyOneNiche = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'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(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'static ()>>> as IStable>::ContainsIndirections
type ContainsIndirections = <Struct<FieldPair<StableLike<extern "C" fn(_: &()) -> Tuple<usize, Option<usize>>, &'static ()>, StableLike<extern "C" fn(_: &mut ()) -> Option<_stabby_unselfed_0>, &'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<_stabby_unselfed_0> PartialEq for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
impl<_stabby_unselfed_0> PartialEq for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
impl<_stabby_unselfed_0> Copy for StabbyVtableIterator<_stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
Auto Trait Implementations§
impl<_stabby_unselfed_0> Freeze for StabbyVtableIterator<_stabby_unselfed_0>
impl<_stabby_unselfed_0> RefUnwindSafe for StabbyVtableIterator<_stabby_unselfed_0>
impl<_stabby_unselfed_0> Send for StabbyVtableIterator<_stabby_unselfed_0>
impl<_stabby_unselfed_0> Sync for StabbyVtableIterator<_stabby_unselfed_0>
impl<_stabby_unselfed_0> Unpin for StabbyVtableIterator<_stabby_unselfed_0>
impl<_stabby_unselfed_0> UnwindSafe for StabbyVtableIterator<_stabby_unselfed_0>
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