pub struct CompositeNode { /* private fields */ }Implementations§
Source§impl CompositeNode
impl CompositeNode
pub fn new(device: &Device, target_format: TextureFormat) -> Self
Sourcepub fn set_scene_view(&mut self, device: &Device, scene_view: &TextureView)
pub fn set_scene_view(&mut self, device: &Device, scene_view: &TextureView)
Call after a resize reallocates the scene texture.
Auto Trait Implementations§
impl Freeze for CompositeNode
impl !RefUnwindSafe for CompositeNode
impl Send for CompositeNode
impl Sync for CompositeNode
impl Unpin for CompositeNode
impl UnsafeUnpin for CompositeNode
impl !UnwindSafe for CompositeNode
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