Struct gst::Buffer
[−]
[src]
pub struct Buffer { // some fields omitted }
Methods
impl Buffer
[src]
unsafe fn new(buffer: *mut GstBuffer, owned: bool) -> Option<Buffer>
fn map_read<'a, F: FnMut(&MapInfo) -> U, U>(&'a self, f: F) -> Result<U, ()>
fn map_write<'a, F: FnMut(&mut MapInfo) -> U, U>(&'a mut self, f: F) -> Result<U, ()>
fn map<'a, F: FnMut(&mut MapInfo) -> U, U>(&'a mut self, flags: Map, f: F) -> Result<U, ()>
fn size(&self) -> u64
fn len<T>(&self) -> usize
fn gst_buffer(&self) -> *const GstBuffer
fn gst_buffer_mut(&mut self) -> *mut GstBuffer
fn flags(&self) -> guint
fn is_live(&self) -> bool
fn set_live(&mut self, value: bool)
fn is_decode_only(&self) -> bool
fn set_decode_only(&mut self, value: bool)
fn is_discont(&self) -> bool
fn set_discont(&mut self, value: bool)
fn is_resync(&self) -> bool
fn set_resync(&mut self, value: bool)
fn is_corrupted(&self) -> bool
fn set_corrupted(&mut self, value: bool)
fn is_marker(&self) -> bool
fn set_marker(&mut self, value: bool)
fn is_header(&self) -> bool
fn set_header(&mut self, value: bool)
fn is_gap(&self) -> bool
fn set_gap(&mut self, value: bool)
fn is_droppable(&self) -> bool
fn set_droppable(&mut self, value: bool)
fn is_delta_unit(&self) -> bool
fn set_delta_unit(&mut self, value: bool)
fn is_tag_memory(&self) -> bool
fn set_tag_memory(&mut self, value: bool)
Trait Implementations
impl Drop for Buffer
[src]
impl Transfer<GstBuffer> for Buffer
[src]
unsafe fn transfer(self) -> *mut GstBuffer
Consumes the current object and transfers ownership of the raw pointer Used to transfer ownership to ffi functions, should be used when an ffi function expects full transfer of an object to avoid the original object to be unreferenced in the process Read more