pub struct Attributes {
pub entry: EntryFn,
pub ctx: *mut c_void,
pub fin: Option<FinFn>,
pub attrs: Option<RtAttrs>,
}Fields§
§entry: EntryFn§ctx: *mut c_voidDelivered to entry as its sole argument; caller owns the pointee’s lifetime.
fin: Option<FinFn>§attrs: Option<RtAttrs>Auto Trait Implementations§
impl Freeze for Attributes
impl RefUnwindSafe for Attributes
impl !Send for Attributes
impl !Sync for Attributes
impl Unpin for Attributes
impl UnsafeUnpin for Attributes
impl UnwindSafe for Attributes
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