pub struct RuntimePlacement { /* private fields */ }Expand description
Owned logical and physical context returned by runtime placement operations.
Implementations§
Source§impl RuntimePlacement
impl RuntimePlacement
pub const fn page_id(&self) -> PageId
pub const fn frame_id(&self) -> FrameId
pub const fn region_id(&self) -> RegionId
pub const fn frame(&self) -> &Frame
pub const fn region(&self) -> &Region
pub const fn content(&self) -> Rect
pub const fn allocation(&self) -> Rect
pub const fn rotated(&self) -> bool
Trait Implementations§
Source§impl Clone for RuntimePlacement
impl Clone for RuntimePlacement
Source§fn clone(&self) -> RuntimePlacement
fn clone(&self) -> RuntimePlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimePlacement
impl Debug for RuntimePlacement
impl Eq for RuntimePlacement
Source§impl PartialEq for RuntimePlacement
impl PartialEq for RuntimePlacement
impl StructuralPartialEq for RuntimePlacement
Auto Trait Implementations§
impl Freeze for RuntimePlacement
impl RefUnwindSafe for RuntimePlacement
impl Send for RuntimePlacement
impl Sync for RuntimePlacement
impl Unpin for RuntimePlacement
impl UnsafeUnpin for RuntimePlacement
impl UnwindSafe for RuntimePlacement
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more