pub struct Pin {
pub name: String,
pub start: u32,
pub end: u32,
}
Expand description
A type that represents a pin
pub struct Pin {
pub name: String,
pub start: u32,
pub end: u32,
}
Fields§
§name: String
Holds the name of the pin
start: u32
Holds the start of the slice range
end: u32
Holds the end of the slice range
Trait Implementations§
impl Eq for Pin
impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnwindSafe for Pin
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