pub struct Distro {Show 13 fields
pub name: String,
pub title: String,
pub tagline: String,
pub opens_with: String,
pub palette: Vec<(String, String)>,
pub prelude: String,
pub base: Book,
pub overlay: Option<Book>,
pub dialects: Vec<Book>,
pub libraries: Vec<Book>,
pub examples: Option<String>,
pub addin: Option<String>,
pub readme: Option<String>,
}Expand description
A distro, as its manifest describes it.
Fields§
§name: String§title: String§tagline: String§opens_with: String§palette: Vec<(String, String)>The three shades, in the order the manifest gives them: lavender,
whisper and deep, each # and six hex digits.
prelude: String§base: Book§overlay: Option<Book>§dialects: Vec<Book>§libraries: Vec<Book>§examples: Option<String>§addin: Option<String>§readme: Option<String>Implementations§
Trait Implementations§
impl Eq for Distro
impl StructuralPartialEq for Distro
Auto Trait Implementations§
impl Freeze for Distro
impl RefUnwindSafe for Distro
impl Send for Distro
impl Sync for Distro
impl Unpin for Distro
impl UnsafeUnpin for Distro
impl UnwindSafe for Distro
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