Struct simics_api_sys::bindings::rs232_console_interface
source · #[repr(C)]pub struct rs232_console_interface {
pub set_baudrate: Option<unsafe extern "C" fn(obj: *mut conf_object_t, rate: c_int, commit: c_int)>,
pub set_data_bits: Option<unsafe extern "C" fn(obj: *mut conf_object_t, bits: c_int, commit: c_int)>,
pub set_stop_bits: Option<unsafe extern "C" fn(obj: *mut conf_object_t, stop_bits: stop_bits_t, commit: c_int)>,
pub set_parity_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t, parity_mode: parity_mode_t, commit: c_int)>,
pub set_dtr: Option<unsafe extern "C" fn(obj: *mut conf_object_t, status: c_int)>,
pub set_rts: Option<unsafe extern "C" fn(obj: *mut conf_object_t, status: c_int)>,
pub set_break: Option<unsafe extern "C" fn(obj: *mut conf_object_t, status: c_int)>,
}
Fields§
§set_baudrate: Option<unsafe extern "C" fn(obj: *mut conf_object_t, rate: c_int, commit: c_int)>
Set line parameters
set_data_bits: Option<unsafe extern "C" fn(obj: *mut conf_object_t, bits: c_int, commit: c_int)>
§set_stop_bits: Option<unsafe extern "C" fn(obj: *mut conf_object_t, stop_bits: stop_bits_t, commit: c_int)>
§set_parity_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t, parity_mode: parity_mode_t, commit: c_int)>
§set_dtr: Option<unsafe extern "C" fn(obj: *mut conf_object_t, status: c_int)>
Flow control lines
set_rts: Option<unsafe extern "C" fn(obj: *mut conf_object_t, status: c_int)>
§set_break: Option<unsafe extern "C" fn(obj: *mut conf_object_t, status: c_int)>
Break
Trait Implementations§
source§impl Clone for rs232_console_interface
impl Clone for rs232_console_interface
source§fn clone(&self) -> rs232_console_interface
fn clone(&self) -> rs232_console_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 rs232_console_interface
impl Debug for rs232_console_interface
source§impl Default for rs232_console_interface
impl Default for rs232_console_interface
source§fn default() -> rs232_console_interface
fn default() -> rs232_console_interface
Returns the “default value” for a type. Read more
source§impl Hash for rs232_console_interface
impl Hash for rs232_console_interface
source§impl Ord for rs232_console_interface
impl Ord for rs232_console_interface
source§fn cmp(&self, other: &rs232_console_interface) -> Ordering
fn cmp(&self, other: &rs232_console_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 rs232_console_interface
impl PartialEq for rs232_console_interface
source§impl PartialOrd for rs232_console_interface
impl PartialOrd for rs232_console_interface
impl Copy for rs232_console_interface
impl Eq for rs232_console_interface
impl StructuralPartialEq for rs232_console_interface
Auto Trait Implementations§
impl Freeze for rs232_console_interface
impl RefUnwindSafe for rs232_console_interface
impl Send for rs232_console_interface
impl Sync for rs232_console_interface
impl Unpin for rs232_console_interface
impl UnwindSafe for rs232_console_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
)