Struct libwebp_sys::WebPYUVABuffer
source · [−]#[repr(C)]pub struct WebPYUVABuffer {
pub y: *mut u8,
pub u: *mut u8,
pub v: *mut u8,
pub a: *mut u8,
pub y_stride: c_int,
pub u_stride: c_int,
pub v_stride: c_int,
pub a_stride: c_int,
pub y_size: usize,
pub u_size: usize,
pub v_size: usize,
pub a_size: usize,
}
Fields
y: *mut u8
u: *mut u8
v: *mut u8
a: *mut u8
y_stride: c_int
u_stride: c_int
v_stride: c_int
a_stride: c_int
y_size: usize
u_size: usize
v_size: usize
a_size: usize
Trait Implementations
sourceimpl Clone for WebPYUVABuffer
impl Clone for WebPYUVABuffer
sourcefn clone(&self) -> WebPYUVABuffer
fn clone(&self) -> WebPYUVABuffer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WebPYUVABuffer
impl Debug for WebPYUVABuffer
impl Copy for WebPYUVABuffer
Auto Trait Implementations
impl RefUnwindSafe for WebPYUVABuffer
impl !Send for WebPYUVABuffer
impl !Sync for WebPYUVABuffer
impl Unpin for WebPYUVABuffer
impl UnwindSafe for WebPYUVABuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more