Struct re_types::blueprint::views::Spatial2DView
source · pub struct Spatial2DView {
pub background: Background,
pub visual_bounds: VisualBounds2D,
pub time_ranges: VisibleTimeRanges,
}
Expand description
View: For viewing spatial 2D data.
Fields§
§background: Background
Configuration for the background of the view.
visual_bounds: VisualBounds2D
The visible parts of the scene, in the coordinate space of the scene.
Everything within these bounds are guaranteed to be visible. Somethings outside of these bounds may also be visible due to letterboxing.
time_ranges: VisibleTimeRanges
Configures which range on each timeline is shown by this view (unless specified differently per entity).
If not specified, the default is to show the latest state of each component. If a timeline is specified more than once, the first entry will be used.
Trait Implementations§
source§impl Clone for Spatial2DView
impl Clone for Spatial2DView
source§fn clone(&self) -> Spatial2DView
fn clone(&self) -> Spatial2DView
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 Debug for Spatial2DView
impl Debug for Spatial2DView
source§impl SizeBytes for Spatial2DView
impl SizeBytes for Spatial2DView
source§fn heap_size_bytes(&self) -> u64
fn heap_size_bytes(&self) -> u64
Returns the total size of
self
on the heap, in bytes.source§fn total_size_bytes(&self) -> u64
fn total_size_bytes(&self) -> u64
Returns the total size of
self
in bytes, accounting for both stack and heap space.source§fn stack_size_bytes(&self) -> u64
fn stack_size_bytes(&self) -> u64
Returns the total size of
self
on the stack, in bytes. Read moresource§impl View for Spatial2DView
impl View for Spatial2DView
Auto Trait Implementations§
impl Freeze for Spatial2DView
impl RefUnwindSafe for Spatial2DView
impl Send for Spatial2DView
impl Sync for Spatial2DView
impl Unpin for Spatial2DView
impl UnwindSafe for Spatial2DView
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 more