Struct fontconfig_parser::RemapDir
source · pub struct RemapDir {
pub prefix: DirPrefix,
pub as_path: String,
pub salt: String,
pub path: String,
}
Expand description
This element contains a directory name where 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’ property affects to determine cache filename as same as Dir
element.
Fields§
§prefix: DirPrefix
§as_path: String
§salt: String
§path: String
Implementations§
Trait Implementations§
source§impl From<RemapDir> for ConfigPart
impl From<RemapDir> for ConfigPart
impl Eq for RemapDir
impl StructuralPartialEq for RemapDir
Auto Trait Implementations§
impl Freeze for RemapDir
impl RefUnwindSafe for RemapDir
impl Send for RemapDir
impl Sync for RemapDir
impl Unpin for RemapDir
impl UnwindSafe for RemapDir
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
)