pub enum TexSource {
Group(usize),
Resource(String),
}Expand description
Where a kernel texture binding comes from.
Variants§
Group(usize)
Output of an earlier group.
Resource(String)
An external resource (image file, …), keyed by its source string.
Trait Implementations§
impl Eq for TexSource
impl StructuralPartialEq for TexSource
Auto Trait Implementations§
impl Forget for TexSource
impl Freeze for TexSource
impl Move for TexSource
impl RefUnwindSafe for TexSource
impl Send for TexSource
impl Sync for TexSource
impl Unpin for TexSource
impl UnsafeUnpin for TexSource
impl UnwindSafe for TexSource
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