Struct cogl::Texture3D[][src]

pub struct Texture3D(_, _);

Implementations

impl Texture3D[src]

pub fn from_bitmap(bitmap: &Bitmap, height: i32, depth: i32) -> Texture3D[src]

pub fn from_data(
    context: &Context,
    width: i32,
    height: i32,
    depth: i32,
    format: PixelFormat,
    rowstride: i32,
    image_stride: i32,
    data: &[u8]
) -> Result<Texture3D, Error>
[src]

pub fn with_size(
    context: &Context,
    width: i32,
    height: i32,
    depth: i32
) -> Texture3D
[src]

Trait Implementations

impl Clone for Texture3D[src]

impl Debug for Texture3D[src]

impl Display for Texture3D[src]

impl Eq for Texture3D[src]

impl Hash for Texture3D[src]

impl IsA<Object> for Texture3D[src]

impl IsA<Texture> for Texture3D[src]

impl Ord for Texture3D[src]

impl<T: ObjectType> PartialEq<T> for Texture3D[src]

impl<T: ObjectType> PartialOrd<T> for Texture3D[src]

impl StaticType for Texture3D[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.