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§
source§impl 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
source§fn csharp_marshaler() -> Option<String>
fn csharp_marshaler() -> Option<String>
Optional marshaler attached to the type (e.g.,
[MarshalAs(UnmanagedType.FunctionPtr)]
)source§impl Clone for PollFuture_Layout
impl Clone for PollFuture_Layout
source§fn clone(&self) -> PollFuture_Layout
fn clone(&self) -> PollFuture_Layout
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 From<i8> for PollFuture_Layout
impl From<i8> for PollFuture_Layout
source§impl PartialEq<PollFuture_Layout> for PollFuture_Layout
impl PartialEq<PollFuture_Layout> for PollFuture_Layout
source§fn eq(&self, other: &PollFuture_Layout) -> bool
fn eq(&self, other: &PollFuture_Layout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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
.impl 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§
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> FitForCBox for T
impl<T> FitForCBox for T
§type CBoxWrapped = Box_<T>
type CBoxWrapped = Box_<T>
Available on crate feature
alloc
only.source§impl<T> ManuallyDropMut for T
impl<T> ManuallyDropMut for T
type Ret = ManuallyDrop<T>
fn manually_drop_mut<'__>(&'__ mut self) -> &'__ mut ManuallyDrop<T>
source§impl<T> UpcastAny for Twhere
T: 'static,
impl<T> UpcastAny for Twhere T: 'static,
source§fn upcast_any(&self) -> &(dyn Any + 'static)
fn upcast_any(&self) -> &(dyn Any + 'static)
Available on crate feature
headers
only.