pub struct MeshSurfaces { /* private fields */ }Expand description
The meshes one composable’s content is drawn on: one or more, each placed in the scene on its own, all showing the same live content.
The content is rendered once and every mesh shows it. A pointer takes the nearest of the meshes where it points and reaches the content point that mesh shows there; a drag stays on the mesh it started on. The first mesh, the owner, places the layer for everything that needs one place: the 3D frames of the layer’s children, the doorways in its content, and the bounds the window and accessibility services report for the content.
Implementations§
Source§impl MeshSurfaces
impl MeshSurfaces
Sourcepub fn new(owner: MeshSurface, more: Vec<MeshSurface>) -> MeshSurfaces
pub fn new(owner: MeshSurface, more: Vec<MeshSurface>) -> MeshSurfaces
The content on owner, which places the layer, and on each of
more.
Sourcepub fn owner(&self) -> &MeshSurface
pub fn owner(&self) -> &MeshSurface
The mesh that places the layer: the first.
Sourcepub fn iter(&self) -> impl Iterator<Item = &MeshSurface>
pub fn iter(&self) -> impl Iterator<Item = &MeshSurface>
The meshes, the owner first.
Sourcepub fn iter_mut(&mut self) -> impl Iterator<Item = &mut MeshSurface>
pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut MeshSurface>
The meshes, the owner first, for a caller that moves them in a value it owns, such as one that animates a model and keeps its surfaces from one frame to the next.
Trait Implementations§
Source§impl Clone for MeshSurfaces
impl Clone for MeshSurfaces
Source§fn clone(&self) -> MeshSurfaces
fn clone(&self) -> MeshSurfaces
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MeshSurfaces
impl Debug for MeshSurfaces
Source§impl From<MeshSurface> for MeshSurfaces
impl From<MeshSurface> for MeshSurfaces
Source§fn from(owner: MeshSurface) -> MeshSurfaces
fn from(owner: MeshSurface) -> MeshSurfaces
Source§impl PartialEq for MeshSurfaces
impl PartialEq for MeshSurfaces
impl StructuralPartialEq for MeshSurfaces
Auto Trait Implementations§
impl Forget for MeshSurfaces
impl Freeze for MeshSurfaces
impl Move for MeshSurfaces
impl RefUnwindSafe for MeshSurfaces
impl Send for MeshSurfaces
impl Sync for MeshSurfaces
impl Unpin for MeshSurfaces
impl UnsafeUnpin for MeshSurfaces
impl UnwindSafe for MeshSurfaces
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
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> ⓘ
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