Struct safer_ffi::dyn_traits::futures::PollFuture_Layout
source · [−]#[repr(transparent)]pub struct PollFuture_Layout {
pub discriminant: i8,
}
Available on crate features
dyn-traits
and futures
only.Fields
discriminant: i8
Trait Implementations
sourceimpl CType for PollFuture_Layout
impl CType for PollFuture_Layout
type OPAQUE_KIND = Concrete
fn short_name() -> String
fn define_self__impl(
language: &dyn HeaderLanguage,
definer: &mut dyn Definer
) -> Result<()>
fn zeroed() -> Self
fn define_self(
language: &dyn HeaderLanguage,
definer: &mut dyn Definer
) -> Result<()>
fn name(_language: &dyn HeaderLanguage) -> String
fn name_wrapping_var(language: &dyn HeaderLanguage, var_name: &str) -> String
sourcefn csharp_marshaler() -> Option<String>
fn csharp_marshaler() -> Option<String>
Optional marshaler attached to the type (e.g.,
[MarshalAs(UnmanagedType.FunctionPtr)]
) Read moresourceimpl Clone for PollFuture_Layout
impl Clone for PollFuture_Layout
sourcefn clone(&self) -> PollFuture_Layout
fn clone(&self) -> PollFuture_Layout
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl From<i8> for PollFuture_Layout
impl From<i8> for PollFuture_Layout
sourceimpl PartialEq<PollFuture_Layout> for PollFuture_Layout
impl PartialEq<PollFuture_Layout> for PollFuture_Layout
sourcefn eq(&self, other: &PollFuture_Layout) -> bool
fn eq(&self, other: &PollFuture_Layout) -> bool
sourceimpl ReprC for PollFuture_Layout
impl ReprC for PollFuture_Layout
type CLayout = PollFuture_Layout
type CLayout = PollFuture_Layout
The
CType
having the same layout as Self
.sourcefn is_valid(_: &PollFuture_Layout) -> bool
fn is_valid(_: &PollFuture_Layout) -> bool
Sanity checks that can be performed on an instance of the
CType
layout. Read moreimpl Copy for PollFuture_Layout
impl Eq for PollFuture_Layout
impl StructuralEq for PollFuture_Layout
impl StructuralPartialEq for PollFuture_Layout
Auto Trait Implementations
impl RefUnwindSafe for PollFuture_Layout
impl Send for PollFuture_Layout
impl Sync for PollFuture_Layout
impl Unpin for PollFuture_Layout
impl UnwindSafe for PollFuture_Layout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CompatExt for T
impl<T> CompatExt for T
sourceimpl<T> FitForCBox for T
impl<T> FitForCBox for T
type CBoxWrapped = Box_<T>
type CBoxWrapped = Box_<T>
Available on crate feature
alloc
only.sourceimpl<T> ManuallyDropMut for T
impl<T> ManuallyDropMut for T
type Ret = ManuallyDrop<T>
fn manually_drop_mut(&'__ mut self) -> &'__ mut ManuallyDrop<T>
sourceimpl<T> UpcastAny for Twhere
T: 'static,
impl<T> UpcastAny for Twhere
T: 'static,
sourcefn upcast_any(&self) -> &(dyn Any + 'static)
fn upcast_any(&self) -> &(dyn Any + 'static)
Available on crate feature
headers
only.