pub struct AppearanceEntry<'a> { /* private fields */ }
Expand description
Writer for an appearance stream or an appearance subdictionary.
This struct is created by Appearance::normal
, Appearance::rollover
and Appearance::alternate
.
Implementations§
source§impl<'a> AppearanceEntry<'a>
impl<'a> AppearanceEntry<'a>
sourcepub fn stream(self, id: Ref)
pub fn stream(self, id: Ref)
Write an indirect reference to a FormXObject
containing the
appearance stream.
sourcepub fn streams(self) -> TypedDict<'a, Ref>
pub fn streams(self) -> TypedDict<'a, Ref>
Start writing an appearance subdictionary containing indirect references
to FormXObject
s for each appearance state.
Trait Implementations§
source§impl<'a> Deref for AppearanceEntry<'a>
impl<'a> Deref for AppearanceEntry<'a>
source§impl<'a> DerefMut for AppearanceEntry<'a>
impl<'a> DerefMut for AppearanceEntry<'a>
source§impl<'a, 'any> Rewrite<'a> for AppearanceEntry<'any>
impl<'a, 'any> Rewrite<'a> for AppearanceEntry<'any>
source§type Output = AppearanceEntry<'a>
type Output = AppearanceEntry<'a>
The writer with the rewritten lifetime.
Auto Trait Implementations§
impl<'a> Freeze for AppearanceEntry<'a>
impl<'a> RefUnwindSafe for AppearanceEntry<'a>
impl<'a> Send for AppearanceEntry<'a>
impl<'a> Sync for AppearanceEntry<'a>
impl<'a> Unpin for AppearanceEntry<'a>
impl<'a> !UnwindSafe for AppearanceEntry<'a>
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