Struct simics_api_sys::vnc_server_v2_interface
source · #[repr(C)]pub struct vnc_server_v2_interface {
pub listening: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
pub num_clients: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>,
pub disconnect: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
}
Fields§
§listening: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
§num_clients: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> c_int>
§disconnect: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
Trait Implementations§
source§impl Clone for vnc_server_v2_interface
impl Clone for vnc_server_v2_interface
source§fn clone(&self) -> vnc_server_v2_interface
fn clone(&self) -> vnc_server_v2_interface
Returns a copy 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 vnc_server_v2_interface
impl Debug for vnc_server_v2_interface
source§impl Default for vnc_server_v2_interface
impl Default for vnc_server_v2_interface
source§fn default() -> vnc_server_v2_interface
fn default() -> vnc_server_v2_interface
Returns the “default value” for a type. Read more
source§impl Hash for vnc_server_v2_interface
impl Hash for vnc_server_v2_interface
source§impl Ord for vnc_server_v2_interface
impl Ord for vnc_server_v2_interface
source§fn cmp(&self, other: &vnc_server_v2_interface) -> Ordering
fn cmp(&self, other: &vnc_server_v2_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for vnc_server_v2_interface
impl PartialEq for vnc_server_v2_interface
source§impl PartialOrd for vnc_server_v2_interface
impl PartialOrd for vnc_server_v2_interface
impl Copy for vnc_server_v2_interface
impl Eq for vnc_server_v2_interface
impl StructuralPartialEq for vnc_server_v2_interface
Auto Trait Implementations§
impl Freeze for vnc_server_v2_interface
impl RefUnwindSafe for vnc_server_v2_interface
impl Send for vnc_server_v2_interface
impl Sync for vnc_server_v2_interface
impl Unpin for vnc_server_v2_interface
impl UnwindSafe for vnc_server_v2_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)