pub struct Scene { /* private fields */ }Implementations§
Source§impl Scene
impl Scene
pub fn new() -> Self
pub fn push(&mut self, command: ScenePrimitive)
pub fn commands(&self) -> &[ScenePrimitive]
pub fn image_requests(&self) -> Vec<ImageRequest>
pub fn estimated_bytes(&self) -> usize
pub fn bounds(&self) -> Option<UiRect>
pub fn project_to_physical(&self, scale: UiScale) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnsafeUnpin for Scene
impl UnwindSafe for Scene
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