pub struct Graph<B: Backend, T: ?Sized> { /* private fields */ }
Expand description
Graph that renders whole frame.
Implementations§
Source§impl<B, T> Graph<B, T>
impl<B, T> Graph<B, T>
Sourcepub fn assert_device_owner(&self, device: &Device<B>)
pub fn assert_device_owner(&self, device: &Device<B>)
Assert specified device is owner.
Sourcepub fn instance_id(&self) -> InstanceId
pub fn instance_id(&self) -> InstanceId
Get owned id.
Sourcepub fn assert_instance_owner(&self, instance: &Instance<B>)
pub fn assert_instance_owner(&self, instance: &Instance<B>)
Assert specified instance is owner.
Source§impl<B, T> Graph<B, T>
impl<B, T> Graph<B, T>
Trait Implementations§
Auto Trait Implementations§
impl<B, T> Freeze for Graph<B, T>where
T: ?Sized,
impl<B, T> !RefUnwindSafe for Graph<B, T>
impl<B, T> Send for Graph<B, T>where
T: ?Sized,
impl<B, T> Sync for Graph<B, T>where
T: ?Sized,
impl<B, T> Unpin for Graph<B, T>
impl<B, T> !UnwindSafe for Graph<B, T>
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