pub enum Patch {
Remove {
pin: &'static str,
af: u8,
peripheral: &'static str,
signal: &'static str,
reason: &'static str,
},
Add {
pin: &'static str,
af: u8,
peripheral: &'static str,
signal: &'static str,
reason: &'static str,
},
}Expand description
A recorded correction to upstream pack data. Every deviation from the vendored XML lives here so it is traceable (Phase 1 exit criteria).
Variants§
Remove
Drop an upstream mapping that is wrong for this device.
Add
Add a mapping missing from upstream data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnsafeUnpin for Patch
impl UnwindSafe for Patch
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