pub struct DebugTextObject {
pub invisible: bool,
pub l: f32,
pub b: f32,
pub r: f32,
pub t: f32,
pub text: String,
}Expand description
One text object on a page, for the hidden-layer diagnostic.
Fields§
§invisible: boolTrue when the object is drawn invisibly (text render mode 3) — the marker of a hidden duplicate text layer.
l: f32Bounding box in native PDF points (bottom-left origin).
b: f32§r: f32§t: f32§text: StringThe object’s text (best-effort; empty if it could not be read).
Trait Implementations§
Source§impl Clone for DebugTextObject
impl Clone for DebugTextObject
Source§fn clone(&self) -> DebugTextObject
fn clone(&self) -> DebugTextObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DebugTextObject
impl RefUnwindSafe for DebugTextObject
impl Send for DebugTextObject
impl Sync for DebugTextObject
impl Unpin for DebugTextObject
impl UnsafeUnpin for DebugTextObject
impl UnwindSafe for DebugTextObject
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more