Struct torin::test_utils::TestingMeasurer
source · pub struct TestingMeasurer;
Trait Implementations§
source§impl LayoutMeasurer<usize> for TestingMeasurer
impl LayoutMeasurer<usize> for TestingMeasurer
fn measure( &mut self, _node_id: usize, _node: &Node, _area_size: &Size2D ) -> Option<(Size2D, Arc<SendAnyMap>)>
fn should_measure_inner_children(&mut self, _node_id: usize) -> bool
fn notify_layout_references(&self, _node_id: Key, _layout_node: &LayoutNode)
Auto Trait Implementations§
impl Freeze for TestingMeasurer
impl RefUnwindSafe for TestingMeasurer
impl Send for TestingMeasurer
impl Sync for TestingMeasurer
impl Unpin for TestingMeasurer
impl UnwindSafe for TestingMeasurer
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.