pub struct LayerTarget { /* private fields */ }Expand description
Current renderer set for one logical layer.
Implementations§
Source§impl LayerTarget
impl LayerTarget
Sourcepub fn new(renderers: Vec<LayerRenderer>, active: bool) -> Self
pub fn new(renderers: Vec<LayerRenderer>, active: bool) -> Self
Create a layer target from physical surface renderers.
Sourcepub fn renderers_mut(&mut self) -> &mut [LayerRenderer]
pub fn renderers_mut(&mut self) -> &mut [LayerRenderer]
Mutable access to each physical renderer backing this logical layer.
Auto Trait Implementations§
impl !RefUnwindSafe for LayerTarget
impl !Send for LayerTarget
impl !Sync for LayerTarget
impl !UnwindSafe for LayerTarget
impl Freeze for LayerTarget
impl Unpin for LayerTarget
impl UnsafeUnpin for LayerTarget
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.