#[repr(C)]pub struct StabbyVtableLinsightPlugin<'stabby_vt_lt> {
pub init: StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>,
pub sample: StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>,
pub shutdown: StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>,
}Expand description
An stabby-generated item for LinsightPlugin
Fields§
§init: StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>An stabby-generated item for LinsightPlugin
sample: StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>An stabby-generated item for LinsightPlugin
shutdown: StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>An stabby-generated item for LinsightPlugin
Implementations§
Source§impl<'stabby_vt_lt> StabbyVtableLinsightPlugin<'stabby_vt_lt>where
Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>: IStable,
impl<'stabby_vt_lt> StabbyVtableLinsightPlugin<'stabby_vt_lt>where
Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>: IStable,
Sourcepub const fn has_optimal_layout() -> bool
pub const fn has_optimal_layout() -> bool
Returns true if the layout for StabbyVtableLinsightPlugin is smaller or equal to that Rust would have generated for it.
Trait Implementations§
Source§impl<'stabby_vt_lt> Clone for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> Clone for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> Copy for StabbyVtableLinsightPlugin<'stabby_vt_lt>
Source§impl<'stabby_vt_lt> Debug for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> Debug for StabbyVtableLinsightPlugin<'stabby_vt_lt>
Source§impl<'stabby_vt_lt> Hash for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> Hash for StabbyVtableLinsightPlugin<'stabby_vt_lt>
Source§impl<'stabby_vt_lt, StabbyArbitraryType> IConstConstructor<'stabby_vt_lt, StabbyArbitraryType> for StabbyVtableLinsightPlugin<'stabby_vt_lt>where
StabbyArbitraryType: LinsightPlugin,
impl<'stabby_vt_lt, StabbyArbitraryType> IConstConstructor<'stabby_vt_lt, StabbyArbitraryType> for StabbyVtableLinsightPlugin<'stabby_vt_lt>where
StabbyArbitraryType: LinsightPlugin,
Source§const VTABLE: StabbyVtableLinsightPlugin<'stabby_vt_lt>
const VTABLE: StabbyVtableLinsightPlugin<'stabby_vt_lt>
The vtable.
Source§const VTABLE_REF: &'a Self = _
const VTABLE_REF: &'a Self = _
A reference to the vtable
Source§impl<'stabby_vt_lt> IStable for StabbyVtableLinsightPlugin<'stabby_vt_lt>where
Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>: IStable,
impl<'stabby_vt_lt> IStable for StabbyVtableLinsightPlugin<'stabby_vt_lt>where
Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> RSampleResult, &'static ()>: IStable,
StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> RInitResult, &'static ()>: 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<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
Source§type UnusedBits = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::UnusedBits
type UnusedBits = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::UnusedBits
The padding bits in the annotated types
Source§type Size = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::Size
type Size = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::Size
The size of the annotated type in bytes.
Source§type Align = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::Align
type Align = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::Align
The alignment of the annotated type in bytes.
Source§type HasExactlyOneNiche = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::HasExactlyOneNiche
Allows the detection of whether or not
core::option::Options are stable: Read moreSource§type ContainsIndirections = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::ContainsIndirections
type ContainsIndirections = <Struct<FieldPair<FieldPair<StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, &RPluginCtx) -> Result<RPluginManifest, RPluginError>, &'static ()>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>, RSensorId) -> Result<RReading, RPluginError>, &'static ()>>, StableLike<for<'stabby_receiver_lt> extern "C-unwind" fn(AnonymRef<'stabby_receiver_lt>, PhantomData<&'stabby_receiver_lt &'stabby_vt_lt ()>), &'static ()>>> as IStable>::ContainsIndirections
Whether or not the type contains indirections (pointers, indices in independent data-structures…)
Source§impl<'stabby_vt_lt> PartialEq for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> PartialEq for StabbyVtableLinsightPlugin<'stabby_vt_lt>
Auto Trait Implementations§
impl<'stabby_vt_lt> Freeze for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> RefUnwindSafe for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> Send for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> Sync for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> Unpin for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> UnsafeUnpin for StabbyVtableLinsightPlugin<'stabby_vt_lt>
impl<'stabby_vt_lt> UnwindSafe for StabbyVtableLinsightPlugin<'stabby_vt_lt>
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