pub struct CGFunctionCallbacks {
pub version: c_uint,
pub evaluate: *mut CGFunctionEvaluateCallback,
pub release_info: *mut CGFunctionReleaseInfoCallback,
}
Expand description
A structure that contains callbacks needed by a CGFunctionRef object.
Fields§
§version: c_uint
The structure version number. For this structure,the version should be 0.
evaluate: *mut CGFunctionEvaluateCallback
The callback that evaluates the function.
release_info: *mut CGFunctionReleaseInfoCallback
If non-NULL,the callback used to release the info parameterpassed to CGFunctionCreate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CGFunctionCallbacks
impl RefUnwindSafe for CGFunctionCallbacks
impl !Send for CGFunctionCallbacks
impl !Sync for CGFunctionCallbacks
impl Unpin for CGFunctionCallbacks
impl UnwindSafe for CGFunctionCallbacks
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