ImplBinaryValue

Trait ImplBinaryValue 

Source
pub trait ImplBinaryValue:
    Clone
    + Sized
    + Rc {
    // Required methods
    fn is_valid(&self) -> c_int;
    fn is_owned(&self) -> c_int;
    fn is_same(&self, that: Option<&mut BinaryValue>) -> c_int;
    fn is_equal(&self, that: Option<&mut BinaryValue>) -> c_int;
    fn copy(&self) -> Option<BinaryValue>;
    fn raw_data(&self) -> *const c_void;
    fn size(&self) -> usize;
    fn data(&self, buffer: Option<&mut Vec<u8>>, data_offset: usize) -> usize;
    fn get_raw(&self) -> *mut _cef_binary_value_t;
}

Required Methods§

Source

fn is_valid(&self) -> c_int

See _cef_binary_value_t::is_valid for more documentation.

Source

fn is_owned(&self) -> c_int

See _cef_binary_value_t::is_owned for more documentation.

Source

fn is_same(&self, that: Option<&mut BinaryValue>) -> c_int

See _cef_binary_value_t::is_same for more documentation.

Source

fn is_equal(&self, that: Option<&mut BinaryValue>) -> c_int

See _cef_binary_value_t::is_equal for more documentation.

Source

fn copy(&self) -> Option<BinaryValue>

See _cef_binary_value_t::copy for more documentation.

Source

fn raw_data(&self) -> *const c_void

See _cef_binary_value_t::get_raw_data for more documentation.

Source

fn size(&self) -> usize

See _cef_binary_value_t::get_size for more documentation.

Source

fn data(&self, buffer: Option<&mut Vec<u8>>, data_offset: usize) -> usize

See _cef_binary_value_t::get_data for more documentation.

Source

fn get_raw(&self) -> *mut _cef_binary_value_t

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§