Struct rin::gl::texture::WrapperSettings [−][src]
Used to allocate a new Texture
from a preallocated id and a format.
Setting owned to true
will make the Texture
release the OpenGL resource on drop
Fields
id: u32
owned: bool
format: Format
Trait Implementations
impl Clone for WrapperSettings
[src]
impl Clone for WrapperSettings
[src]pub fn clone(&self) -> WrapperSettings
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for WrapperSettings
impl Send for WrapperSettings
impl Sync for WrapperSettings
impl Unpin for WrapperSettings
impl UnwindSafe for WrapperSettings
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]