Struct stabby_abi::vtable::VtSend
source · #[repr(C)]pub struct VtSend<T>(pub T);
Expand description
A marker for vtables for types that are Send
Tuple Fields§
§0: T
Implementations§
Trait Implementations§
source§impl<'a, T: Send, Vt: IConstConstructor<'a, T>> IConstConstructor<'a, T> for VtSend<Vt>
impl<'a, T: Send, Vt: IConstConstructor<'a, T>> IConstConstructor<'a, T> for VtSend<Vt>
source§impl<T> IStable for VtSend<T>
impl<T> IStable for VtSend<T>
§type ForbiddenValues = <Struct<T> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<T> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
§type UnusedBits = <Struct<T> as IStable>::UnusedBits
type UnusedBits = <Struct<T> as IStable>::UnusedBits
The padding bits in the annotated types
§type HasExactlyOneNiche = <Struct<T> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<T> as IStable>::HasExactlyOneNiche
Allows the detection of whether or not
core::option::Option
s are stable: Read more§type ContainsIndirections = <Struct<T> as IStable>::ContainsIndirections
type ContainsIndirections = <Struct<T> 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<T: PartialEq> PartialEq for VtSend<T>
impl<T: PartialEq> PartialEq for VtSend<T>
source§impl<Tail: TransitiveDeref<Vt, N>, Vt, N> TransitiveDeref<Vt, N> for VtSend<Tail>
impl<Tail: TransitiveDeref<Vt, N>, Vt, N> TransitiveDeref<Vt, N> for VtSend<Tail>
impl<T: Copy> Copy for VtSend<T>
impl<T: Eq> Eq for VtSend<T>
impl<T> HasSendVt for VtSend<T>
impl<T: HasSyncVt> HasSyncVt for VtSend<T>
impl<T> StructuralPartialEq for VtSend<T>
Auto Trait Implementations§
impl<T> Freeze for VtSend<T>where
T: Freeze,
impl<T> RefUnwindSafe for VtSend<T>where
T: RefUnwindSafe,
impl<T> Send for VtSend<T>where
T: Send,
impl<T> Sync for VtSend<T>where
T: Sync,
impl<T> Unpin for VtSend<T>where
T: Unpin,
impl<T> UnwindSafe for VtSend<T>where
T: UnwindSafe,
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
source§impl<T> IPod for T
impl<T> IPod for T
source§fn identifier() -> u64
fn identifier() -> u64
Produces an identifier for the type, allowing to check type at runtime (barring collisions).