pub struct CircleSpec { /* private fields */ }Expand description
A circle / ellipse annotation (/Subtype /Circle).
Implementations§
Source§impl CircleSpec
impl CircleSpec
Source§impl CircleSpec
impl CircleSpec
Sourcepub fn contents(self, contents: impl Into<String>) -> Self
pub fn contents(self, contents: impl Into<String>) -> Self
A circle annotation.
Sets /Contents.
A circle annotation.
Sets /T, the author.
Sourcepub fn name(self, name: impl Into<String>) -> AnnotWrite
pub fn name(self, name: impl Into<String>) -> AnnotWrite
A circle annotation.
Sets /NM, the annotation’s unique name.
Sourcepub fn modified(self, modified: impl Into<String>) -> AnnotWrite
pub fn modified(self, modified: impl Into<String>) -> AnnotWrite
A circle annotation.
Sets /M, the modification date.
Sourcepub fn flags(self, flags: AnnotFlags) -> AnnotWrite
pub fn flags(self, flags: AnnotFlags) -> AnnotWrite
A circle annotation.
Sets /F, the annotation flags.
Sourcepub fn meta(self, meta: AnnotMeta) -> AnnotWrite
pub fn meta(self, meta: AnnotMeta) -> AnnotWrite
A circle annotation.
Sets every metadata field at once.
Trait Implementations§
Source§impl Clone for CircleSpec
impl Clone for CircleSpec
Source§impl Debug for CircleSpec
impl Debug for CircleSpec
Source§impl From<CircleSpec> for AnnotWrite
impl From<CircleSpec> for AnnotWrite
Source§fn from(builder: CircleSpec) -> Self
fn from(builder: CircleSpec) -> Self
Converts to this type from the input type.
Source§impl From<CircleSpec> for AnnotSpec
impl From<CircleSpec> for AnnotSpec
Source§fn from(b: CircleSpec) -> Self
fn from(b: CircleSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CircleSpec
impl PartialEq for CircleSpec
impl StructuralPartialEq for CircleSpec
Auto Trait Implementations§
impl Freeze for CircleSpec
impl RefUnwindSafe for CircleSpec
impl Send for CircleSpec
impl Sync for CircleSpec
impl Unpin for CircleSpec
impl UnsafeUnpin for CircleSpec
impl UnwindSafe for CircleSpec
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§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.