pub struct CompiledTarget {
pub name: String,
pub preferred_template: Option<String>,
pub chroma: Option<ChromaStrategy>,
pub artifacts: Vec<CompiledArtifactSpec>,
pub source: TargetSource,
}Fields§
§name: String§preferred_template: Option<String>§chroma: Option<ChromaStrategy>§artifacts: Vec<CompiledArtifactSpec>§source: TargetSourceTrait Implementations§
Source§impl ArtifactGenerator for CompiledTarget
impl ArtifactGenerator for CompiledTarget
fn name(&self) -> &str
fn preferred_template(&self) -> Option<&str>
fn chroma_strategy(&self) -> Option<ChromaStrategy>
fn generate( &self, tokens: &SemanticTokens, ctx: &GenerationContext, ) -> Result<Vec<GeneratedArtifact>, RendererError>
Source§impl Clone for CompiledTarget
impl Clone for CompiledTarget
Source§fn clone(&self) -> CompiledTarget
fn clone(&self) -> CompiledTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompiledTarget
impl Debug for CompiledTarget
impl Eq for CompiledTarget
Source§impl PartialEq for CompiledTarget
impl PartialEq for CompiledTarget
impl StructuralPartialEq for CompiledTarget
Auto Trait Implementations§
impl Freeze for CompiledTarget
impl RefUnwindSafe for CompiledTarget
impl Send for CompiledTarget
impl Sync for CompiledTarget
impl Unpin for CompiledTarget
impl UnsafeUnpin for CompiledTarget
impl UnwindSafe for CompiledTarget
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