#[repr(C)]pub struct OhosImageSourceUpdateData {
pub buffer: *mut u8,
pub bufferSize: usize,
pub offset: u32,
pub updateLength: u32,
pub isCompleted: i8,
}Expand description
@brief Defines the update data of the image source. It is obtained by calling {@link OH_ImageSource_UpdateData}.
@syscap SystemCapability.Multimedia.Image @since 10 @version 4.0
Fields§
§buffer: *mut u8Image source update data buffer.
bufferSize: usizeImage source update data buffer size.
offset: u32Image source offset of update data buffer.
updateLength: u32Image source update data length in update data buffer.
isCompleted: i8Image source update data is completed in this session.
Trait Implementations§
Source§impl Clone for OhosImageSourceUpdateData
impl Clone for OhosImageSourceUpdateData
Source§fn clone(&self) -> OhosImageSourceUpdateData
fn clone(&self) -> OhosImageSourceUpdateData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OhosImageSourceUpdateData
impl Debug for OhosImageSourceUpdateData
impl Copy for OhosImageSourceUpdateData
Auto Trait Implementations§
impl Freeze for OhosImageSourceUpdateData
impl RefUnwindSafe for OhosImageSourceUpdateData
impl !Send for OhosImageSourceUpdateData
impl !Sync for OhosImageSourceUpdateData
impl Unpin for OhosImageSourceUpdateData
impl UnsafeUnpin for OhosImageSourceUpdateData
impl UnwindSafe for OhosImageSourceUpdateData
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