Struct webrender_api::display_list::ReferenceFrameState
source · struct ReferenceFrameState {
offsets: Vec<LayoutVector2D>,
}
Expand description
The offset stack for a given reference frame.
Fields§
§offsets: Vec<LayoutVector2D>
A stack of current offsets from the current reference frame scope.
Trait Implementations§
source§impl Clone for ReferenceFrameState
impl Clone for ReferenceFrameState
source§fn clone(&self) -> ReferenceFrameState
fn clone(&self) -> ReferenceFrameState
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 moreAuto Trait Implementations§
impl Freeze for ReferenceFrameState
impl RefUnwindSafe for ReferenceFrameState
impl Send for ReferenceFrameState
impl Sync for ReferenceFrameState
impl Unpin for ReferenceFrameState
impl UnwindSafe for ReferenceFrameState
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