Struct debris_backends::datapack::templates::TemplateData
source · pub struct TemplateData<'a> {
project: &'a str,
project_description: &'a str,
main_function_dir: &'a str,
}
Fields§
§project: &'a str
§project_description: &'a str
§main_function_dir: &'a str
Trait Implementations§
source§impl<'a> Clone for TemplateData<'a>
impl<'a> Clone for TemplateData<'a>
source§fn clone(&self) -> TemplateData<'a>
fn clone(&self) -> TemplateData<'a>
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<'a> Debug for TemplateData<'a>
impl<'a> Debug for TemplateData<'a>
source§impl<'a> From<&'a Config> for TemplateData<'a>
impl<'a> From<&'a Config> for TemplateData<'a>
impl<'a> Copy for TemplateData<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TemplateData<'a>
impl<'a> Send for TemplateData<'a>
impl<'a> Sync for TemplateData<'a>
impl<'a> Unpin for TemplateData<'a>
impl<'a> UnwindSafe for TemplateData<'a>
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