Struct layout_2013::traversal::AssignISizes
source · pub struct AssignISizes<'a> {
pub layout_context: &'a LayoutContext<'a>,
}
Expand description
The assign-inline-sizes traversal. In Gecko this corresponds to Reflow
.
Fields§
§layout_context: &'a LayoutContext<'a>
Trait Implementations§
source§impl<'a> Clone for AssignISizes<'a>
impl<'a> Clone for AssignISizes<'a>
source§fn clone(&self) -> AssignISizes<'a>
fn clone(&self) -> AssignISizes<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> PreorderFlowTraversal for AssignISizes<'a>
impl<'a> PreorderFlowTraversal for AssignISizes<'a>
source§fn process(&self, flow: &mut dyn Flow)
fn process(&self, flow: &mut dyn Flow)
The operation to perform. Return true to continue or false to stop.
source§fn should_process(&self, flow: &mut dyn Flow) -> bool
fn should_process(&self, flow: &mut dyn Flow) -> bool
Returns true if this node must be processed in-order. If this returns false,
we skip the operation for this node, but continue processing the descendants.
This is called after parent nodes are visited.
source§fn should_process_subtree(&self, _flow: &mut dyn Flow) -> bool
fn should_process_subtree(&self, _flow: &mut dyn Flow) -> bool
Returns true if this node should be processed and false if neither this node nor its
descendants should be processed.
source§fn traverse_absolute_flows(&self, flow: &mut dyn Flow)
fn traverse_absolute_flows(&self, flow: &mut dyn Flow)
Traverse the Absolute flow tree in preorder. Read more
impl<'a> Copy for AssignISizes<'a>
Auto Trait Implementations§
impl<'a> Freeze for AssignISizes<'a>
impl<'a> !RefUnwindSafe for AssignISizes<'a>
impl<'a> Send for AssignISizes<'a>
impl<'a> Sync for AssignISizes<'a>
impl<'a> Unpin for AssignISizes<'a>
impl<'a> !UnwindSafe for AssignISizes<'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
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert