pub struct Package {
pub name: String,
pub description: String,
pub vendor: String,
pub url: String,
pub license: Option<String>,
pub releases: Releases,
pub conditions: Conditions,
pub devices: Devices,
pub boards: Vec<Board>,
/* private fields */
}Fields§
§name: String§description: String§vendor: String§url: String§license: Option<String>§releases: Releases§conditions: Conditions§devices: Devices§boards: Vec<Board>Implementations§
Source§impl Package
impl Package
pub fn make_components(&self) -> Vec<Component>
pub fn make_condition_lookup(&self) -> HashMap<&str, &Condition>
pub fn make_dump_devices(&self) -> Vec<(&str, DumpDevice<'_>)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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