#[non_exhaustive]pub struct IndentedLine {
pub text: String,
pub indent: f64,
}Expand description
A line of a reference list as laid out, with its distance from the left edge (any unit, such as PDF points).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: String§indent: f64Implementations§
Trait Implementations§
Source§impl Clone for IndentedLine
impl Clone for IndentedLine
Source§impl Debug for IndentedLine
impl Debug for IndentedLine
Source§impl PartialEq for IndentedLine
impl PartialEq for IndentedLine
impl StructuralPartialEq for IndentedLine
Auto Trait Implementations§
impl Forget for IndentedLine
impl Freeze for IndentedLine
impl Move for IndentedLine
impl RefUnwindSafe for IndentedLine
impl Send for IndentedLine
impl Sync for IndentedLine
impl Unpin for IndentedLine
impl UnsafeUnpin for IndentedLine
impl UnwindSafe for IndentedLine
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