pub struct Address { /* private fields */ }Expand description
The path by which a reader names an element of a story (Address):
p12 for the twelfth paragraph of the body, t2/r4/c1/p1 for the first paragraph of the
first cell of the fourth row of the second table, t2/r4 for that row, p5/b1/p2 for the
second paragraph of the first text box of the fifth paragraph, and h1/p3 for the third
paragraph of the first header part. Its grammar is
address = [ story "/" ] block
story = ( "h" | "f" | "n" | "e" ) number
block = "p" number [ "/b" number "/" block ]
| "t" number [ "/r" number [ "/c" number [ "/" block ] ] ]
number = a decimal number from 1, without a sign or leading zerosso that a value of this type always names a paragraph, a table, a row or a cell.
Implementations§
Trait Implementations§
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Forget for Address
impl Freeze for Address
impl Move for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.