pub struct StringCallback(/* private fields */);
Implementations§
Trait Implementations§
Source§impl Clone for StringCallback
impl Clone for StringCallback
Source§fn clone(&self) -> StringCallback
fn clone(&self) -> StringCallback
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 Default for StringCallback
impl Default for StringCallback
Source§impl From<Option<unsafe extern "C" fn(_: MlirStringRef, _: *mut c_void)>> for StringCallback
impl From<Option<unsafe extern "C" fn(_: MlirStringRef, _: *mut c_void)>> for StringCallback
Source§fn from(callback: MlirStringCallback) -> Self
fn from(callback: MlirStringCallback) -> Self
Converts to this type from the input type.
Source§impl From<unsafe extern "C" fn(_: MlirStringRef, _: *mut c_void)> for StringCallback
impl From<unsafe extern "C" fn(_: MlirStringRef, _: *mut c_void)> for StringCallback
Source§fn from(callback: StringCallbackFn) -> Self
fn from(callback: StringCallbackFn) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StringCallback
impl RefUnwindSafe for StringCallback
impl Send for StringCallback
impl Sync for StringCallback
impl Unpin for StringCallback
impl UnwindSafe for StringCallback
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