[−][src]Struct wgpu_core::track::TextureState
Implementations
impl TextureState
[src]
pub fn with_range(range: &SubresourceRange) -> Self
[src]
Trait Implementations
impl Clone for TextureState
[src]
fn clone(&self) -> TextureState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TextureState
[src]
impl Default for TextureState
[src]
fn default() -> TextureState
[src]
impl PartialEq<TextureState> for TextureState
[src]
fn eq(&self, other: &TextureState) -> bool
[src]
fn ne(&self, other: &TextureState) -> bool
[src]
impl ResourceState for TextureState
[src]
type Id = TextureId
Corresponding HUB
identifier.
type Selector = SubresourceRange
A type specifying the sub-resources.
type Usage = TextureUsage
Usage type for a Unit
of a sub-resource.
fn query(&self, selector: Self::Selector) -> Option<Self::Usage>
[src]
fn change(
&mut self,
id: Self::Id,
selector: Self::Selector,
usage: Self::Usage,
output: Option<&mut Vec<PendingTransition<Self>>>
) -> Result<(), PendingTransition<Self>>
[src]
&mut self,
id: Self::Id,
selector: Self::Selector,
usage: Self::Usage,
output: Option<&mut Vec<PendingTransition<Self>>>
) -> Result<(), PendingTransition<Self>>
fn merge(
&mut self,
id: Self::Id,
other: &Self,
output: Option<&mut Vec<PendingTransition<Self>>>
) -> Result<(), PendingTransition<Self>>
[src]
&mut self,
id: Self::Id,
other: &Self,
output: Option<&mut Vec<PendingTransition<Self>>>
) -> Result<(), PendingTransition<Self>>
fn optimize(&mut self)
[src]
impl StructuralPartialEq for TextureState
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextureState
impl Send for TextureState
impl Sync for TextureState
impl Unpin for TextureState
impl UnwindSafe for TextureState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,