Struct obs_wrapper::source::video::VideoDataContext
source · [−]pub struct VideoDataContext { /* private fields */ }Implementations
sourceimpl VideoDataContext
impl VideoDataContext
pub fn get_format(&self) -> VideoFormat
pub fn get_width(&self) -> u32
pub fn get_height(&self) -> u32
pub fn get_data_buffer(&self, idx: usize) -> *mut u8
pub fn get_linesize(&self, idx: usize) -> u32
Auto Trait Implementations
impl RefUnwindSafe for VideoDataContext
impl !Send for VideoDataContext
impl !Sync for VideoDataContext
impl Unpin for VideoDataContext
impl UnwindSafe for VideoDataContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more