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§
Sourcefn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See _cef_binary_value_t::is_valid for more documentation.
Sourcefn is_owned(&self) -> c_int
fn is_owned(&self) -> c_int
See _cef_binary_value_t::is_owned for more documentation.
Sourcefn is_same(&self, that: Option<&mut BinaryValue>) -> c_int
fn is_same(&self, that: Option<&mut BinaryValue>) -> c_int
See _cef_binary_value_t::is_same for more documentation.
Sourcefn is_equal(&self, that: Option<&mut BinaryValue>) -> c_int
fn is_equal(&self, that: Option<&mut BinaryValue>) -> c_int
See _cef_binary_value_t::is_equal for more documentation.
Sourcefn copy(&self) -> Option<BinaryValue>
fn copy(&self) -> Option<BinaryValue>
See _cef_binary_value_t::copy for more documentation.
Sourcefn raw_data(&self) -> *const c_void
fn raw_data(&self) -> *const c_void
See _cef_binary_value_t::get_raw_data for more documentation.
Sourcefn size(&self) -> usize
fn size(&self) -> usize
See _cef_binary_value_t::get_size for more documentation.
Sourcefn data(&self, buffer: Option<&mut Vec<u8>>, data_offset: usize) -> usize
fn data(&self, buffer: Option<&mut Vec<u8>>, data_offset: usize) -> usize
See _cef_binary_value_t::get_data for more documentation.
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.