pub enum Repo {
Symbols,
Footprints,
Models,
}Expand description
One of KiCad’s three library repositories.
Variants§
Implementations§
Source§impl Repo
impl Repo
pub const ALL: [Repo; 3]
Sourcepub fn project(self) -> &'static str
pub fn project(self) -> &'static str
The GitLab project’s name, which is also the last segment of its URL.
Sourcepub fn install_folder(self) -> &'static str
pub fn install_folder(self) -> &'static str
The folder KiCad’s own install keeps this repository’s files in, so a root holding all three under these names is laid out like an install.
pub fn url(self, base: &str) -> String
Trait Implementations§
impl Copy for Repo
impl Eq for Repo
impl StructuralPartialEq for Repo
Auto Trait Implementations§
impl Forget for Repo
impl Freeze for Repo
impl Move for Repo
impl RefUnwindSafe for Repo
impl Send for Repo
impl Sync for Repo
impl Unpin for Repo
impl UnsafeUnpin for Repo
impl UnwindSafe for Repo
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