pub struct OcConfig { /* private fields */ }Expand description
The document’s default optional-content configuration (/OCProperties /D).
Implementations§
Source§impl OcConfig
impl OcConfig
Sourcepub fn group_visible(&self, id: ObjectId) -> bool
pub fn group_visible(&self, id: ObjectId) -> bool
Visibility of a single optional-content group. Per 8.11.4.3 the config applies in order BaseState → /ON → /OFF, so OFF wins when a group is listed in both arrays.
Sourcepub fn all_visible(&self) -> bool
pub fn all_visible(&self) -> bool
True when every group renders (no config means everything visible).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OcConfig
impl RefUnwindSafe for OcConfig
impl Send for OcConfig
impl Sync for OcConfig
impl Unpin for OcConfig
impl UnsafeUnpin for OcConfig
impl UnwindSafe for OcConfig
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