pub struct SoftStreams {
pub particles: Stream,
pub elements: Stream,
pub attachments: Stream,
pub adjacency: Stream,
pub bodies: Stream,
pub contributions: Stream,
pub contacts: Stream,
pub pressure: Stream,
pub reactions: Stream,
}Fields§
§particles: Stream§elements: Stream§attachments: Stream§adjacency: Stream§bodies: Stream§contributions: Stream§contacts: Stream§pressure: Stream§reactions: StreamImplementations§
Trait Implementations§
Source§impl DomainStreams for SoftStreams
impl DomainStreams for SoftStreams
type Demand = SoftDemand
fn new(device: &Device, queue: &Queue, demand: &SoftDemand) -> Self
fn matches(&self, demand: &SoftDemand) -> bool
fn reserve( &mut self, device: &Device, encoder: &mut CommandEncoder, demand: &SoftDemand, ) -> bool
fn require<F: Fn(&'static str) -> Option<u32>>( &mut self, device: &Device, encoder: &mut CommandEncoder, floors: F, ) -> bool
fn durable(&self) -> Vec<(&'static str, &Stream)>
Auto Trait Implementations§
impl !RefUnwindSafe for SoftStreams
impl !UnwindSafe for SoftStreams
impl Freeze for SoftStreams
impl Send for SoftStreams
impl Sync for SoftStreams
impl Unpin for SoftStreams
impl UnsafeUnpin for SoftStreams
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