Struct skia_bindings::Sink
source · #[repr(C)]pub struct Sink<T> {
pub fn_trait: TraitObject,
pub set_fn: Option<unsafe extern "C" fn(arg1: *const T, arg2: TraitObject)>,
pub _phantom_0: PhantomData<UnsafeCell<T>>,
}
Fields§
§fn_trait: TraitObject
§set_fn: Option<unsafe extern "C" fn(arg1: *const T, arg2: TraitObject)>
§_phantom_0: PhantomData<UnsafeCell<T>>
Trait Implementations§
impl<T: Copy> Copy for Sink<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Sink<T>
impl<T> !Send for Sink<T>
impl<T> !Sync for Sink<T>
impl<T> Unpin for Sink<T>where T: Unpin,
impl<T> UnwindSafe for Sink<T>where T: UnwindSafe,
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