pub struct SimCanBusDesc {
pub id: u32,
pub name: String,
pub bitrate: u32,
pub bitrate_data: u32,
pub fd_capable: bool,
}Fields§
§id: u32§name: String§bitrate: u32§bitrate_data: u32§fd_capable: boolTrait Implementations§
Source§impl Clone for SimCanBusDesc
impl Clone for SimCanBusDesc
Source§fn clone(&self) -> SimCanBusDesc
fn clone(&self) -> SimCanBusDesc
Returns a duplicate 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 SimCanBusDesc
impl Debug for SimCanBusDesc
Source§impl<'de> Deserialize<'de> for SimCanBusDesc
impl<'de> Deserialize<'de> for SimCanBusDesc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SimCanBusDesc
impl PartialEq for SimCanBusDesc
Source§impl Serialize for SimCanBusDesc
impl Serialize for SimCanBusDesc
impl Eq for SimCanBusDesc
impl StructuralPartialEq for SimCanBusDesc
Auto Trait Implementations§
impl Freeze for SimCanBusDesc
impl RefUnwindSafe for SimCanBusDesc
impl Send for SimCanBusDesc
impl Sync for SimCanBusDesc
impl Unpin for SimCanBusDesc
impl UnsafeUnpin for SimCanBusDesc
impl UnwindSafe for SimCanBusDesc
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