#[repr(C)]pub struct PhidgetServer {
pub name: *const c_char,
pub stype: *const c_char,
pub type_: PhidgetServerType,
pub flags: c_int,
pub addr: *const c_char,
pub host: *const c_char,
pub port: c_int,
}
Fields§
§name: *const c_char
§stype: *const c_char
§type_: PhidgetServerType
§flags: c_int
§addr: *const c_char
§host: *const c_char
§port: c_int
Trait Implementations§
Source§impl Clone for PhidgetServer
impl Clone for PhidgetServer
Source§fn clone(&self) -> PhidgetServer
fn clone(&self) -> PhidgetServer
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PhidgetServer
impl Debug for PhidgetServer
impl Copy for PhidgetServer
Auto Trait Implementations§
impl Freeze for PhidgetServer
impl RefUnwindSafe for PhidgetServer
impl !Send for PhidgetServer
impl !Sync for PhidgetServer
impl Unpin for PhidgetServer
impl UnwindSafe for PhidgetServer
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