#[repr(C)]pub struct ucs_sys_dev_distance {
pub latency: f64,
pub bandwidth: f64,
}Fields§
§latency: f64< in seconds
bandwidth: f64< in bytes/second
Trait Implementations§
Source§impl Clone for ucs_sys_dev_distance
impl Clone for ucs_sys_dev_distance
Source§fn clone(&self) -> ucs_sys_dev_distance
fn clone(&self) -> ucs_sys_dev_distance
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 ucs_sys_dev_distance
impl Debug for ucs_sys_dev_distance
impl Copy for ucs_sys_dev_distance
Auto Trait Implementations§
impl Freeze for ucs_sys_dev_distance
impl RefUnwindSafe for ucs_sys_dev_distance
impl Send for ucs_sys_dev_distance
impl Sync for ucs_sys_dev_distance
impl Unpin for ucs_sys_dev_distance
impl UnwindSafe for ucs_sys_dev_distance
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