Struct skia_bindings::RustStream
source · #[repr(C)]pub struct RustStream {
pub _base: SkStream,
pub m_data: *mut c_void,
pub m_length: usize,
pub m_isEof: bool,
pub m_read: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void, arg3: usize) -> usize>,
pub m_seekAbsolute: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: usize) -> bool>,
pub m_seekRelative: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: c_long) -> bool>,
}
Fields§
§_base: SkStream
§m_data: *mut c_void
§m_length: usize
§m_isEof: bool
§m_read: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void, arg3: usize) -> usize>
§m_seekAbsolute: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: usize) -> bool>
§m_seekRelative: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: c_long) -> bool>
Implementations§
source§impl RustStream
impl RustStream
pub unsafe fn new( data: *mut c_void, length: usize, read: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_void, arg3: usize) -> usize>, seekAbsolute: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: usize) -> bool>, seekRelative: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: c_long) -> bool> ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RustStream
impl !Send for RustStream
impl !Sync for RustStream
impl Unpin for RustStream
impl UnwindSafe for RustStream
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