pub struct SceneNode {
pub layer: Layer,
/* private fields */
}
Fields§
§layer: Layer
Implementations§
source§impl SceneNode
impl SceneNode
pub fn id(&self) -> Option<NodeRef>
pub fn with_renderable_and_layout( layer: Layer, layout_node: TaffyNodeId, ) -> Self
pub fn insert_flags(&self, flags: RenderableFlags)
pub fn remove_flags(&self, flags: RenderableFlags)
pub fn bounds(&self) -> Rect
pub fn bounds_with_children(&self) -> Rect
pub fn transformed_bounds(&self) -> Rect
pub fn transformed_bounds_with_effects(&self) -> Rect
pub fn transform(&self) -> Matrix
pub fn mark_for_deletion(&self)
pub fn is_deleted(&self) -> bool
pub fn set_debug_info(&self, debug_info: bool)
pub fn is_image_cached(&self) -> bool
pub fn render_layer(&self) -> RenderLayer
pub fn cached_picture(&self) -> Option<DrawCache>
pub fn replicate_node(&self, nodeid: &Option<NodeRef>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SceneNode
impl !RefUnwindSafe for SceneNode
impl Send for SceneNode
impl Sync for SceneNode
impl Unpin for SceneNode
impl !UnwindSafe for SceneNode
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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