pub struct NoopMeasurer;
Trait Implementations§
Source§impl LayoutMeasurer<usize> for NoopMeasurer
impl LayoutMeasurer<usize> for NoopMeasurer
fn measure( &mut self, _node_id: usize, _node: &Node, _size: &Size2D, ) -> Option<(Size2D, Arc<SendAnyMap>)>
fn should_measure(&mut self, _node_id: usize) -> bool
fn should_measure_inner_children(&mut self, _node_id: usize) -> bool
fn notify_layout_references( &self, _node_id: Key, _area: Area, _inner_sizes: Size2D, )
Auto Trait Implementations§
impl Freeze for NoopMeasurer
impl RefUnwindSafe for NoopMeasurer
impl Send for NoopMeasurer
impl Sync for NoopMeasurer
impl Unpin for NoopMeasurer
impl UnwindSafe for NoopMeasurer
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