pub struct WriteHandler(/* private fields */);Expand description
See _cef_write_handler_t for more documentation.
Implementations§
Source§impl WriteHandler
impl WriteHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapWriteHandler,
Trait Implementations§
Source§impl Clone for WriteHandler
impl Clone for WriteHandler
Source§fn clone(&self) -> WriteHandler
fn clone(&self) -> WriteHandler
Returns a duplicate 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 ConvertParam<*mut _cef_write_handler_t> for &WriteHandler
impl ConvertParam<*mut _cef_write_handler_t> for &WriteHandler
fn into_raw(self) -> *mut _cef_write_handler_t
Source§impl ConvertParam<*mut _cef_write_handler_t> for &mut WriteHandler
impl ConvertParam<*mut _cef_write_handler_t> for &mut WriteHandler
fn into_raw(self) -> *mut _cef_write_handler_t
Source§impl ConvertReturnValue<WriteHandler> for *mut _cef_write_handler_t
impl ConvertReturnValue<WriteHandler> for *mut _cef_write_handler_t
fn wrap_result(self) -> WriteHandler
Source§impl From<WriteHandler> for *mut _cef_write_handler_t
impl From<WriteHandler> for *mut _cef_write_handler_t
Source§fn from(value: WriteHandler) -> Self
fn from(value: WriteHandler) -> Self
Converts to this type from the input type.
Source§impl ImplWriteHandler for WriteHandler
impl ImplWriteHandler for WriteHandler
Source§fn write(&self, ptr: *const u8, size: usize, n: usize) -> usize
fn write(&self, ptr: *const u8, size: usize, n: usize) -> usize
See
_cef_write_handler_t::write for more documentation.Source§fn seek(&self, offset: i64, whence: c_int) -> c_int
fn seek(&self, offset: i64, whence: c_int) -> c_int
See
_cef_write_handler_t::seek for more documentation.Source§fn tell(&self) -> i64
fn tell(&self) -> i64
See
_cef_write_handler_t::tell for more documentation.Source§fn flush(&self) -> c_int
fn flush(&self) -> c_int
See
_cef_write_handler_t::flush for more documentation.Source§fn may_block(&self) -> c_int
fn may_block(&self) -> c_int
See
_cef_write_handler_t::may_block for more documentation.fn get_raw(&self) -> *mut _cef_write_handler_t
fn init_methods(object: &mut _cef_write_handler_t)
Source§impl Rc for WriteHandler
impl Rc for WriteHandler
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for WriteHandler
impl RefUnwindSafe for WriteHandler
impl Send for WriteHandler
impl Sync for WriteHandler
impl Unpin for WriteHandler
impl UnwindSafe for WriteHandler
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