pub struct Track(/* private fields */);
Implementations§
Source§impl Track
impl Track
pub fn new() -> Self
pub fn start(&self) -> (i64, i64)
pub fn set_start(&mut self, (x, y): (i64, i64))
pub fn end(&self) -> (i64, i64)
pub fn set_end(&mut self, (x, y): (i64, i64))
pub fn width(&self) -> i64
pub fn set_width(&mut self, width: i64)
pub fn locked(&self) -> bool
pub fn layer(&self) -> BoardLayer
pub fn net(&self) -> &Net
Trait Implementations§
impl StructuralPartialEq for Track
Auto Trait Implementations§
impl !Freeze for Track
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnwindSafe for Track
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