MeasureBoundsAndDraw

Struct MeasureBoundsAndDraw 

Source
pub struct MeasureBoundsAndDraw<'a, D> { /* private fields */ }

Implementations§

Source§

impl<'a, D> MeasureBoundsAndDraw<'a, D>
where D: Frame,

Source

pub fn new(draw: &'a mut D) -> Self

Trait Implementations§

Source§

impl<'a, D> Frame for MeasureBoundsAndDraw<'a, D>
where D: Frame,

Source§

fn set_cell_relative<C: ColModify>( &mut self, relative_coord: Coord, relative_depth: i8, relative_cell: ViewCell, context: ViewContext<C>, )

Source§

fn set_cell_absolute( &mut self, absolute_coord: Coord, absolute_depth: i8, absolute_cell: ViewCell, )

Source§

fn blend_cell_background_relative<C: ColModify, B: Blend>( &mut self, relative_coord: Coord, relative_depth: i8, rgb24: Rgb24, alpha: u8, blend: B, context: ViewContext<C>, )

Source§

fn blend_cell_background_absolute<B: Blend>( &mut self, absolute_coord: Coord, absolute_depth: i8, rgb24: Rgb24, alpha: u8, blend: B, )

Auto Trait Implementations§

§

impl<'a, D> Freeze for MeasureBoundsAndDraw<'a, D>

§

impl<'a, D> RefUnwindSafe for MeasureBoundsAndDraw<'a, D>
where D: RefUnwindSafe,

§

impl<'a, D> Send for MeasureBoundsAndDraw<'a, D>
where D: Send,

§

impl<'a, D> Sync for MeasureBoundsAndDraw<'a, D>
where D: Sync,

§

impl<'a, D> Unpin for MeasureBoundsAndDraw<'a, D>

§

impl<'a, D> !UnwindSafe for MeasureBoundsAndDraw<'a, D>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.