pub struct PrintBlock<'a> {
pub spans: &'a [Span],
pub wrap: Option<f32>,
pub anchor: Anchor,
pub at: [f32; 2],
pub alpha: f32,
pub clip: [f32; 4],
pub turn: [f32; 3],
pub selection: Option<Selection>,
pub caret: Option<Caret>,
}Fields§
§spans: &'a [Span]§wrap: Option<f32>§anchor: Anchor§at: [f32; 2]§alpha: f32§clip: [f32; 4]§turn: [f32; 3]§selection: Option<Selection>§caret: Option<Caret>Implementations§
Trait Implementations§
Source§impl<'a> Clone for PrintBlock<'a>
impl<'a> Clone for PrintBlock<'a>
Source§fn clone(&self) -> PrintBlock<'a>
fn clone(&self) -> PrintBlock<'a>
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<'a> Freeze for PrintBlock<'a>
impl<'a> RefUnwindSafe for PrintBlock<'a>
impl<'a> Send for PrintBlock<'a>
impl<'a> Sync for PrintBlock<'a>
impl<'a> Unpin for PrintBlock<'a>
impl<'a> UnsafeUnpin for PrintBlock<'a>
impl<'a> UnwindSafe for PrintBlock<'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