Struct write_fonts::tables::base::BaseScriptList
source · pub struct BaseScriptList {
pub base_script_records: Vec<BaseScriptRecord>,
}Expand description
Fields§
§base_script_records: Vec<BaseScriptRecord>Array of BaseScriptRecords, in alphabetical order by baseScriptTag
Implementations§
source§impl BaseScriptList
impl BaseScriptList
sourcepub fn new(base_script_records: Vec<BaseScriptRecord>) -> Self
pub fn new(base_script_records: Vec<BaseScriptRecord>) -> Self
Construct a new BaseScriptList
Trait Implementations§
source§impl Clone for BaseScriptList
impl Clone for BaseScriptList
source§fn clone(&self) -> BaseScriptList
fn clone(&self) -> BaseScriptList
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 Debug for BaseScriptList
impl Debug for BaseScriptList
source§impl Default for BaseScriptList
impl Default for BaseScriptList
source§fn default() -> BaseScriptList
fn default() -> BaseScriptList
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for BaseScriptList
impl<'a> FontRead<'a> for BaseScriptList
source§impl FontWrite for BaseScriptList
impl FontWrite for BaseScriptList
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
source§impl Validate for BaseScriptList
impl Validate for BaseScriptList
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BaseScriptList
impl Send for BaseScriptList
impl Sync for BaseScriptList
impl Unpin for BaseScriptList
impl UnwindSafe for BaseScriptList
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.