pub struct TtxFile {
pub path: String,
pub contents: String,
}Expand description
One file of a TTX dump: its path and its contents.
A dump split into several files (crate::TtxOptions::split_tables,
crate::TtxOptions::split_glyphs) refers to the table and glyph files by
their file names (src attributes), relative to the file that refers to
them; the files go in the same directory.
Fields§
§path: StringThe path, derived from the path of the main file.
contents: StringThe TTX text.
Trait Implementations§
impl Eq for TtxFile
impl StructuralPartialEq for TtxFile
Auto Trait Implementations§
impl Forget for TtxFile
impl Freeze for TtxFile
impl Move for TtxFile
impl RefUnwindSafe for TtxFile
impl Send for TtxFilewhere
RawVecInner: Send,
impl Sync for TtxFilewhere
RawVecInner: Sync,
impl Unpin for TtxFile
impl UnsafeUnpin for TtxFile
impl UnwindSafe for TtxFilewhere
RawVecInner: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.