Struct layout_2013::block::InlineFlexItem
source · pub struct InlineFlexItem;
Trait Implementations§
source§impl ISizeAndMarginsComputer for InlineFlexItem
impl ISizeAndMarginsComputer for InlineFlexItem
source§fn compute_used_inline_size(
&self,
block: &mut BlockFlow,
shared_context: &SharedStyleContext<'_>,
parent_flow_inline_size: Au,
)
fn compute_used_inline_size( &self, block: &mut BlockFlow, shared_context: &SharedStyleContext<'_>, parent_flow_inline_size: Au, )
Compute the used value of inline-size, taking care of min-inline-size and max-inline-size. Read more
source§fn solve_inline_size_constraints(
&self,
block: &mut BlockFlow,
_: &ISizeConstraintInput,
) -> ISizeConstraintSolution
fn solve_inline_size_constraints( &self, block: &mut BlockFlow, _: &ISizeConstraintInput, ) -> ISizeConstraintSolution
Solve the inline-size and margins constraints for this block flow.
source§fn compute_border_and_padding(
&self,
block: &mut BlockFlow,
containing_block_inline_size: Au,
)
fn compute_border_and_padding( &self, block: &mut BlockFlow, containing_block_inline_size: Au, )
Instructs the fragment to compute its border and padding.
source§fn compute_inline_size_constraint_inputs(
&self,
block: &mut BlockFlow,
parent_flow_inline_size: Au,
shared_context: &SharedStyleContext<'_>,
) -> ISizeConstraintInput
fn compute_inline_size_constraint_inputs( &self, block: &mut BlockFlow, parent_flow_inline_size: Au, shared_context: &SharedStyleContext<'_>, ) -> ISizeConstraintInput
Compute the inputs for the ISize constraint equation. Read more
source§fn set_inline_size_constraint_solutions(
&self,
block: &mut BlockFlow,
solution: ISizeConstraintSolution,
)
fn set_inline_size_constraint_solutions( &self, block: &mut BlockFlow, solution: ISizeConstraintSolution, )
Set the used values for inline-size and margins from the relevant constraint equation.
This is called only once. Read more
source§fn set_inline_position_of_flow_if_necessary(
&self,
_: &mut BlockFlow,
_: ISizeConstraintSolution,
)
fn set_inline_position_of_flow_if_necessary( &self, _: &mut BlockFlow, _: ISizeConstraintSolution, )
Set the inline coordinate of the given flow if it is absolutely positioned.
fn initial_computed_inline_size( &self, block: &mut BlockFlow, parent_flow_inline_size: Au, shared_context: &SharedStyleContext<'_>, ) -> MaybeAuto
fn containing_block_inline_size( &self, _: &mut BlockFlow, parent_flow_inline_size: Au, _: &SharedStyleContext<'_>, ) -> Au
source§fn solve_block_inline_size_constraints(
&self,
block: &mut BlockFlow,
input: &ISizeConstraintInput,
) -> ISizeConstraintSolution
fn solve_block_inline_size_constraints( &self, block: &mut BlockFlow, input: &ISizeConstraintInput, ) -> ISizeConstraintSolution
Computes inline-start and inline-end margins and inline-size. Read more
Auto Trait Implementations§
impl Freeze for InlineFlexItem
impl RefUnwindSafe for InlineFlexItem
impl Send for InlineFlexItem
impl Sync for InlineFlexItem
impl Unpin for InlineFlexItem
impl UnwindSafe for InlineFlexItem
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