Struct typst_syntax::package::TemplateInfo
source · pub struct TemplateInfo {
pub path: EcoString,
pub entrypoint: EcoString,
}
Expand description
The [template]
key in the manifest.
Fields§
§path: EcoString
The path of the starting point within the package.
entrypoint: EcoString
The path of the entrypoint relative to the starting point’s path
.
Trait Implementations§
source§impl Clone for TemplateInfo
impl Clone for TemplateInfo
source§fn clone(&self) -> TemplateInfo
fn clone(&self) -> TemplateInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TemplateInfo
impl Debug for TemplateInfo
source§impl<'de> Deserialize<'de> for TemplateInfo
impl<'de> Deserialize<'de> for TemplateInfo
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
source§impl Hash for TemplateInfo
impl Hash for TemplateInfo
source§impl PartialEq for TemplateInfo
impl PartialEq for TemplateInfo
source§fn eq(&self, other: &TemplateInfo) -> bool
fn eq(&self, other: &TemplateInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TemplateInfo
impl Serialize for TemplateInfo
impl Eq for TemplateInfo
impl StructuralPartialEq for TemplateInfo
Auto Trait Implementations§
impl Freeze for TemplateInfo
impl RefUnwindSafe for TemplateInfo
impl Send for TemplateInfo
impl Sync for TemplateInfo
impl Unpin for TemplateInfo
impl UnwindSafe for TemplateInfo
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