#[repr(C)]pub struct terminal_client_interface {
pub write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, id: c_int, str_: *const c_char)>,
pub disconnect: Option<unsafe extern "C" fn(obj: *mut conf_object_t, id: c_int)>,
}
Fields§
§write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, id: c_int, str_: *const c_char)>
§disconnect: Option<unsafe extern "C" fn(obj: *mut conf_object_t, id: c_int)>
Trait Implementations§
source§impl Clone for terminal_client_interface
impl Clone for terminal_client_interface
source§fn clone(&self) -> terminal_client_interface
fn clone(&self) -> terminal_client_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 terminal_client_interface
impl Debug for terminal_client_interface
source§impl Default for terminal_client_interface
impl Default for terminal_client_interface
source§fn default() -> terminal_client_interface
fn default() -> terminal_client_interface
Returns the “default value” for a type. Read more
source§impl Hash for terminal_client_interface
impl Hash for terminal_client_interface
source§impl Ord for terminal_client_interface
impl Ord for terminal_client_interface
source§fn cmp(&self, other: &terminal_client_interface) -> Ordering
fn cmp(&self, other: &terminal_client_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 PartialOrd for terminal_client_interface
impl PartialOrd for terminal_client_interface
impl Copy for terminal_client_interface
impl Eq for terminal_client_interface
impl StructuralPartialEq for terminal_client_interface
Auto Trait Implementations§
impl Freeze for terminal_client_interface
impl RefUnwindSafe for terminal_client_interface
impl Send for terminal_client_interface
impl Sync for terminal_client_interface
impl Unpin for terminal_client_interface
impl UnwindSafe for terminal_client_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
)