pub struct GraphContext<B: Backend> {
pub frames_in_flight: u32,
/* private fields */
}
Expand description
Graphics context contains all transient resources managed by graph.
Fields§
§frames_in_flight: u32
Number of potential frames in flight
Implementations§
Source§impl<B: Backend> GraphContext<B>
impl<B: Backend> GraphContext<B>
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for GraphContext<B>
impl<B> RefUnwindSafe for GraphContext<B>where
<B as Backend>::Buffer: RefUnwindSafe,
<B as Backend>::Image: RefUnwindSafe,
<B as Backend>::Memory: RefUnwindSafe,
impl<B> Send for GraphContext<B>
impl<B> Sync for GraphContext<B>
impl<B> Unpin for GraphContext<B>
impl<B> UnwindSafe for GraphContext<B>where
<B as Backend>::Buffer: RefUnwindSafe,
<B as Backend>::Image: RefUnwindSafe,
<B as Backend>::Memory: RefUnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more