pub struct LayerCreationRequest {
pub shared_context: Option<SharedGpuContext>,
pub max_surface_dimension: u32,
/* private fields */
}Expand description
Snapshot of surviving tiles supplied to a chassis factory. Return only missing surfaces; the runtime keeps survivors ready and validates returned tiles against the current layout.
Fields§
Context shared by this logical layer’s surviving tiles, if any.
max_surface_dimension: u32Adapter limit already established by the surviving tiles.
Implementations§
Source§impl LayerCreationRequest
impl LayerCreationRequest
Sourcepub fn needs_surface(&self, key: &str, host_signature: &str) -> bool
pub fn needs_surface(&self, key: &str, host_signature: &str) -> bool
Whether the factory must create this key and backing-surface generation.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LayerCreationRequest
impl !Send for LayerCreationRequest
impl !Sync for LayerCreationRequest
impl !UnwindSafe for LayerCreationRequest
impl Freeze for LayerCreationRequest
impl Unpin for LayerCreationRequest
impl UnsafeUnpin for LayerCreationRequest
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.