pub struct FileSpec {
pub file: Option<Vec<u8>>,
pub unicode_file: Option<String>,
pub description: Option<String>,
pub file_system: Option<String>,
pub volatile: bool,
pub embedded: Option<ObjRef>,
}Expand description
A file specification (Table 44), from a dictionary or a bare string.
Covers ISO 32000-1 §7.11.3.
Fields§
§file: Option<Vec<u8>>/F: the file specification string as stored (§7.11.2), or the
whole specification when it was a bare string.
unicode_file: Option<String>/UF: the Unicode form of the specification, decoded.
description: Option<String>/Desc, decoded.
file_system: Option<String>/FS: the file system that interprets the specification, URL
being the one the standard defines.
volatile: bool/V: whether the file changes often enough that it must not be
cached.
embedded: Option<ObjRef>The embedded file stream from /EF: its /UF, else /F, else one
of the obsolescent /DOS, /Mac and /Unix entries.
Implementations§
Trait Implementations§
impl StructuralPartialEq for FileSpec
Auto Trait Implementations§
impl Freeze for FileSpec
impl RefUnwindSafe for FileSpec
impl Send for FileSpec
impl Sync for FileSpec
impl Unpin for FileSpec
impl UnsafeUnpin for FileSpec
impl UnwindSafe for FileSpec
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