pub struct GlyphChangeEntry {
pub path: String,
pub change_type: String,
pub name: Option<String>,
}Expand description
One entry in the changes array passed to the Node binding’s regenerate. The complete
ordered file list passed alongside it controls final glyph order; this only describes which
files need re-reading, renaming, or removal.
Fields§
§path: StringPath of the changed file.
change_type: StringWhat happened to the file.
name: Option<String>Resolved glyph name (with the caller’s rename already applied). Optional for 'added'
and 'changed' (defaults to the file stem/current name); ignored for 'removed'.
Auto Trait Implementations§
impl Freeze for GlyphChangeEntry
impl RefUnwindSafe for GlyphChangeEntry
impl Send for GlyphChangeEntry
impl Sync for GlyphChangeEntry
impl Unpin for GlyphChangeEntry
impl UnsafeUnpin for GlyphChangeEntry
impl UnwindSafe for GlyphChangeEntry
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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.