pub struct DebugPortSwd {
pub idcode: Option<u32>,
pub targetsel: Option<u32>,
}Expand description
SWD debug port parameters
Fields§
§idcode: Option<u32>SWD-DP IDCODE value
targetsel: Option<u32>Target selection value (SWD-DP multidrop)
Trait Implementations§
Source§impl Clone for DebugPortSwd
impl Clone for DebugPortSwd
Source§fn clone(&self) -> DebugPortSwd
fn clone(&self) -> DebugPortSwd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebugPortSwd
impl Debug for DebugPortSwd
Source§impl Default for DebugPortSwd
impl Default for DebugPortSwd
Source§fn default() -> DebugPortSwd
fn default() -> DebugPortSwd
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DebugPortSwd
impl<'de> Deserialize<'de> for DebugPortSwd
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
impl Eq for DebugPortSwd
Source§impl PartialEq for DebugPortSwd
impl PartialEq for DebugPortSwd
Source§impl Serialize for DebugPortSwd
impl Serialize for DebugPortSwd
impl StructuralPartialEq for DebugPortSwd
Auto Trait Implementations§
impl Freeze for DebugPortSwd
impl RefUnwindSafe for DebugPortSwd
impl Send for DebugPortSwd
impl Sync for DebugPortSwd
impl Unpin for DebugPortSwd
impl UnsafeUnpin for DebugPortSwd
impl UnwindSafe for DebugPortSwd
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