pub struct Catalogue {
pub format: u32,
pub toolkit: String,
pub components: Vec<Description>,
pub enums: Vec<EnumDescription>,
pub icons: Vec<String>,
}Expand description
Every described component of one toolkit version.
Fields§
§format: u32FORMAT_VERSION when it was written.
toolkit: StringThe toolkit version the descriptions come from.
components: Vec<Description>§enums: Vec<EnumDescription>The closed sets with fields a prop can name (Type::Cases): a drawing’s shapes.
icons: Vec<String>The toolkit’s icon set, by kebab-case name (more-horizontal): what a prop of an icon
may name, read by tilolang and the tools without linking the toolkit.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Catalogue
impl<'de> Deserialize<'de> for Catalogue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Catalogue
Auto Trait Implementations§
impl Forget for Catalogue
impl Freeze for Cataloguewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Description>: Freeze,
PhantomData<EnumDescription>: Freeze,
PhantomData<String>: Freeze,
impl Move for Catalogue
impl RefUnwindSafe for Catalogue
impl Send for Catalogue
impl Sync for Catalogue
impl Unpin for Catalogue
impl UnsafeUnpin for Cataloguewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Description>: UnsafeUnpin,
PhantomData<EnumDescription>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Cataloguewhere
RawVecInner: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
BTreeMap<String, Attr>: UnwindSafe,
BTreeMap<String, BTreeMap<String, Attr>>: UnwindSafe,
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