pub struct WgpuTransferPlan {
pub spans: Vec<WgpuTransferSpan>,
}Expand description
Planned transfer spans for a segment plan.
Fields§
§spans: Vec<WgpuTransferSpan>Copy spans.
Implementations§
Source§impl WgpuTransferPlan
impl WgpuTransferPlan
Sourcepub fn from_segments(plan: &WgpuSegmentPlan) -> Self
pub fn from_segments(plan: &WgpuSegmentPlan) -> Self
Builds a transfer plan aligned to resident segments.
Trait Implementations§
Source§impl Clone for WgpuTransferPlan
impl Clone for WgpuTransferPlan
Source§fn clone(&self) -> WgpuTransferPlan
fn clone(&self) -> WgpuTransferPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WgpuTransferPlan
impl Debug for WgpuTransferPlan
impl Eq for WgpuTransferPlan
Source§impl PartialEq for WgpuTransferPlan
impl PartialEq for WgpuTransferPlan
impl StructuralPartialEq for WgpuTransferPlan
Auto Trait Implementations§
impl Freeze for WgpuTransferPlan
impl RefUnwindSafe for WgpuTransferPlan
impl Send for WgpuTransferPlan
impl Sync for WgpuTransferPlan
impl Unpin for WgpuTransferPlan
impl UnsafeUnpin for WgpuTransferPlan
impl UnwindSafe for WgpuTransferPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.