Struct write_fonts::tables::base::Axis
source · pub struct Axis {
pub base_tag_list: NullableOffsetMarker<BaseTagList>,
pub base_script_list: OffsetMarker<BaseScriptList>,
}Expand description
Fields§
§base_tag_list: NullableOffsetMarker<BaseTagList>Offset to BaseTagList table, from beginning of Axis table (may be NULL)
base_script_list: OffsetMarker<BaseScriptList>Offset to BaseScriptList table, from beginning of Axis table
Implementations§
source§impl Axis
impl Axis
sourcepub fn new(
base_tag_list: Option<BaseTagList>,
base_script_list: BaseScriptList
) -> Self
pub fn new( base_tag_list: Option<BaseTagList>, base_script_list: BaseScriptList ) -> Self
Construct a new Axis
Trait Implementations§
source§impl FontWrite for Axis
impl FontWrite for Axis
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
fn name(&self) -> &'static str
Auto Trait Implementations§
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnwindSafe for Axis
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.