Struct fontconfig_parser::RemapDirData
source · pub struct RemapDirData {
pub path: PathBuf,
pub salt: String,
pub as_path: String,
}
Expand description
Final remap-dirs data
Fields§
§path: PathBuf
dir path will be mapped as the path as-path
in cached information. This is useful if the directory name is an alias (via a bind mount or symlink) to another directory in the system for which cached font information is likely to exist.
salt: String
‘salt’ property affects to determine cache filename. this is useful for example when having different fonts sets on same path at container and share fonts from host on different font path.
as_path: String
Trait Implementations§
source§impl Clone for RemapDirData
impl Clone for RemapDirData
source§fn clone(&self) -> RemapDirData
fn clone(&self) -> RemapDirData
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 RemapDirData
impl Debug for RemapDirData
source§impl Default for RemapDirData
impl Default for RemapDirData
source§fn default() -> RemapDirData
fn default() -> RemapDirData
Returns the “default value” for a type. Read more
source§impl PartialEq for RemapDirData
impl PartialEq for RemapDirData
impl Eq for RemapDirData
impl StructuralPartialEq for RemapDirData
Auto Trait Implementations§
impl Freeze for RemapDirData
impl RefUnwindSafe for RemapDirData
impl Send for RemapDirData
impl Sync for RemapDirData
impl Unpin for RemapDirData
impl UnwindSafe for RemapDirData
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)