#[repr(C)]pub struct OH_AVDataSource {
pub size: i64,
pub readAt: OH_AVDataSourceReadAt,
}Available on crate feature
api-12 only.Expand description
User customized data source.
Required System Capabilities: SystemCapability.Multimedia.Media.CodecBase
Available since API-level: 12
Fields§
§size: i64Total size of the data source.
readAt: OH_AVDataSourceReadAtCallback interface for reading data from datasource.
Trait Implementations§
Source§impl Clone for OH_AVDataSource
impl Clone for OH_AVDataSource
Source§fn clone(&self) -> OH_AVDataSource
fn clone(&self) -> OH_AVDataSource
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 Debug for OH_AVDataSource
impl Debug for OH_AVDataSource
impl Copy for OH_AVDataSource
Auto Trait Implementations§
impl Freeze for OH_AVDataSource
impl RefUnwindSafe for OH_AVDataSource
impl Send for OH_AVDataSource
impl Sync for OH_AVDataSource
impl Unpin for OH_AVDataSource
impl UnsafeUnpin for OH_AVDataSource
impl UnwindSafe for OH_AVDataSource
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