pub struct PipelineCacheDescriptor<'a> {
pub label: Label<'a>,
pub data: Option<Cow<'a, [u8]>>,
pub fallback: bool,
}
Fields§
§label: Label<'a>
§data: Option<Cow<'a, [u8]>>
§fallback: bool
Trait Implementations§
Source§impl<'a> Clone for PipelineCacheDescriptor<'a>
impl<'a> Clone for PipelineCacheDescriptor<'a>
Source§fn clone(&self) -> PipelineCacheDescriptor<'a>
fn clone(&self) -> PipelineCacheDescriptor<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for PipelineCacheDescriptor<'a>
impl<'a> RefUnwindSafe for PipelineCacheDescriptor<'a>
impl<'a> Send for PipelineCacheDescriptor<'a>
impl<'a> Sync for PipelineCacheDescriptor<'a>
impl<'a> Unpin for PipelineCacheDescriptor<'a>
impl<'a> UnwindSafe for PipelineCacheDescriptor<'a>
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