pub struct Board<'a> { /* private fields */ }
Implementations§
Source§impl Board<'_>
impl Board<'_>
pub fn name(&self) -> &str
pub fn create_items( &self, items: Vec<impl GenericBoardItem>, ) -> Result<Vec<ItemCreationResult>, KiCadError>
pub fn get_items( &self, types: &[KiCadObjectType], ) -> Result<Vec<BoardItem>, KiCadError>
pub fn get_tracks(&self) -> Result<Vec<Track>, KiCadError>
pub fn update_items( &self, items: &Vec<impl GenericBoardItem>, ) -> Result<Vec<ItemUpdateResult>, KiCadError>
pub fn delete_items( &self, items: &Vec<impl GenericBoardItem>, ) -> Result<Vec<ItemDeletionResult>, KiCadError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for Board<'a>
impl<'a> !RefUnwindSafe for Board<'a>
impl<'a> !Send for Board<'a>
impl<'a> !Sync for Board<'a>
impl<'a> Unpin for Board<'a>
impl<'a> !UnwindSafe for Board<'a>
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