Struct fea_rs::compile::Compilation
source · pub struct Compilation {
pub warnings: Vec<Diagnostic>,
/* private fields */
}Expand description
The output of a compilation operation.
This losslessly contains all of the information parsed from the FEA necessary for generating the various OpenType tables.
Fields§
§warnings: Vec<Diagnostic>Any warnings that were generated during compilation
Implementations§
source§impl Compilation
impl Compilation
sourcepub fn assemble(
&self,
glyph_map: &GlyphMap,
opts: Opts
) -> Result<FontBuilder<'static>, BinaryCompilationError>
pub fn assemble( &self, glyph_map: &GlyphMap, opts: Opts ) -> Result<FontBuilder<'static>, BinaryCompilationError>
Generate all the final tables and add them to a builder.
This builder can be used to get generate the final binary.
Auto Trait Implementations§
impl RefUnwindSafe for Compilation
impl !Send for Compilation
impl !Sync for Compilation
impl Unpin for Compilation
impl UnwindSafe for Compilation
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
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.