[][src]Trait aravis::BufferExt

pub trait BufferExt: 'static {
    fn get_chunk_data(&self, chunk_id: u64) -> Vec<u8>;
fn get_frame_id(&self) -> u64;
fn get_image_height(&self) -> i32;
fn get_image_pixel_format(&self) -> PixelFormat;
fn get_image_region(&self) -> (i32, i32, i32, i32);
fn get_image_width(&self) -> i32;
fn get_image_x(&self) -> i32;
fn get_image_y(&self) -> i32;
fn get_payload_type(&self) -> BufferPayloadType;
fn get_status(&self) -> BufferStatus;
fn get_system_timestamp(&self) -> u64;
fn get_timestamp(&self) -> u64;
fn has_chunks(&self) -> bool;
fn set_system_timestamp(&self, timestamp_ns: u64);
fn set_timestamp(&self, timestamp_ns: u64); }

Trait containing all Buffer methods.

Implementors

Buffer

Required methods

fn get_chunk_data(&self, chunk_id: u64) -> Vec<u8>

fn get_frame_id(&self) -> u64

fn get_image_height(&self) -> i32

fn get_image_pixel_format(&self) -> PixelFormat

fn get_image_region(&self) -> (i32, i32, i32, i32)

fn get_image_width(&self) -> i32

fn get_image_x(&self) -> i32

fn get_image_y(&self) -> i32

fn get_payload_type(&self) -> BufferPayloadType

fn get_status(&self) -> BufferStatus

fn get_system_timestamp(&self) -> u64

fn get_timestamp(&self) -> u64

fn has_chunks(&self) -> bool

fn set_system_timestamp(&self, timestamp_ns: u64)

fn set_timestamp(&self, timestamp_ns: u64)

Loading content...

Implementors

impl<O: IsA<Buffer>> BufferExt for O[src]

Loading content...