pub enum EitherTexture {
Regular2d(Texture2d),
Srgb2d(SrgbTexture2d),
}Available on crate feature
glium only.Variants§
Regular2d(Texture2d)
Srgb2d(SrgbTexture2d)
Implementations§
Trait Implementations§
Source§impl<'t> ToColorAttachment<'t> for &'t EitherTexture
impl<'t> ToColorAttachment<'t> for &'t EitherTexture
Source§fn to_color_attachment(self) -> ColorAttachment<'t>
fn to_color_attachment(self) -> ColorAttachment<'t>
Builds the
ColorAttachment.Auto Trait Implementations§
impl !Freeze for EitherTexture
impl !RefUnwindSafe for EitherTexture
impl !Send for EitherTexture
impl !Sync for EitherTexture
impl Unpin for EitherTexture
impl !UnwindSafe for EitherTexture
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