#[repr(C)]pub struct _cef_process_message_t {
pub base: cef_base_ref_counted_t,
pub is_valid: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> c_int>,
pub is_read_only: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> c_int>,
pub copy: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> *mut _cef_process_message_t>,
pub get_name: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> cef_string_userfree_t>,
pub get_argument_list: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> *mut _cef_list_value_t>,
pub get_shared_memory_region: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> *mut _cef_shared_memory_region_t>,
}Expand description
Structure representing a message. Can be used on any process and thread.
NOTE: This struct is allocated DLL-side.
Fields§
§base: cef_base_ref_counted_tBase structure.
is_valid: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> c_int>Returns true (1) if this object is valid. Do not call any other functions if this function returns false (0).
is_read_only: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> c_int>Returns true (1) if the values of this object are read-only. Some APIs may expose read-only objects.
copy: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> *mut _cef_process_message_t>Returns a writable copy of this object. Returns nullptr when message contains a shared memory region.
get_name: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> cef_string_userfree_t>Returns the message name.
get_argument_list: Option<unsafe extern "C" fn(self_: *mut _cef_process_message_t) -> *mut _cef_list_value_t>Returns the list of arguments. Returns nullptr when message contains a shared memory region.
Returns the shared memory region. Returns nullptr when message contains an argument list.
Trait Implementations§
Source§impl Clone for _cef_process_message_t
impl Clone for _cef_process_message_t
Source§fn clone(&self) -> _cef_process_message_t
fn clone(&self) -> _cef_process_message_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _cef_process_message_t
impl Debug for _cef_process_message_t
impl Copy for _cef_process_message_t
Auto Trait Implementations§
impl Freeze for _cef_process_message_t
impl RefUnwindSafe for _cef_process_message_t
impl Send for _cef_process_message_t
impl Sync for _cef_process_message_t
impl Unpin for _cef_process_message_t
impl UnwindSafe for _cef_process_message_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more