Struct polysite::compiler::metadata::SetMetadata
source · pub struct SetMetadata { /* private fields */ }
Expand description
SetMetadata
sets metadata to context
§Example
use polysite::compiler::metadata::SetMetadata;
SetMetadata::new()
.global("site_url", "https://example.ccom")
.unwrap()
.compiling("compiling", vec!["value"])
.unwrap();
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SetMetadata
impl Send for SetMetadata
impl Sync for SetMetadata
impl Unpin for SetMetadata
impl UnwindSafe for SetMetadata
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