Struct cogl::Material [−][src]
#[repr(C)]pub struct Material(_);
Trait Implementations
impl Clone for Material
[src]
impl Copy for Material
[src]
impl Debug for Material
[src]
impl Eq for Material
[src]
impl FromGlibContainerAsVec<*mut _CoglMaterial, *mut *mut _CoglMaterial> for Material
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *mut CoglMaterial,
num: usize
) -> Vec<Self>
[src]
ptr: *mut CoglMaterial,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut CoglMaterial,
num: usize
) -> Vec<Self>
[src]
ptr: *mut CoglMaterial,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut CoglMaterial,
num: usize
) -> Vec<Self>
[src]
ptr: *mut CoglMaterial,
num: usize
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut _CoglMaterial, *mut *mut _CoglMaterial> for Material
[src]
unsafe fn from_glib_none_as_vec(ptr: *mut CoglMaterial) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut CoglMaterial) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut CoglMaterial) -> Vec<Self>
[src]
impl FromGlibPtrBorrow<*mut _CoglMaterial> for Material
[src]
unsafe fn from_glib_borrow(ptr: CoglMaterial) -> Borrowed<Material>
[src]
impl FromGlibPtrFull<*mut _CoglMaterial> for Material
[src]
unsafe fn from_glib_full(_: CoglMaterial) -> Material
[src]
impl FromGlibPtrNone<*mut _CoglMaterial> for Material
[src]
unsafe fn from_glib_none(ptr: CoglMaterial) -> Material
[src]
impl GlibPtrDefault for Material
[src]
type GlibType = CoglMaterial
impl Hash for Material
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Material> for Material
[src]
impl StructuralEq for Material
[src]
impl StructuralPartialEq for Material
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut _CoglMaterial> for &'a Material
[src]
type Storage = (Vec<Stash<'a, CoglMaterial, &'a Material>>, Option<Vec<CoglMaterial>>)
fn to_glib_none_from_slice(
t: &'a [&'a Material]
) -> (*const CoglMaterial, Self::Storage)
[src]
t: &'a [&'a Material]
) -> (*const CoglMaterial, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [&'a Material]
) -> (*const CoglMaterial, Self::Storage)
[src]
t: &'a [&'a Material]
) -> (*const CoglMaterial, Self::Storage)
fn to_glib_full_from_slice(_: &[&'a Material]) -> *const CoglMaterial
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut _CoglMaterial> for &'a Material
[src]
type Storage = (Vec<Stash<'a, CoglMaterial, &'a Material>>, Option<Vec<CoglMaterial>>)
fn to_glib_none_from_slice(
t: &'a [&'a Material]
) -> (*mut CoglMaterial, Self::Storage)
[src]
t: &'a [&'a Material]
) -> (*mut CoglMaterial, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [&'a Material]
) -> (*mut CoglMaterial, Self::Storage)
[src]
t: &'a [&'a Material]
) -> (*mut CoglMaterial, Self::Storage)
fn to_glib_full_from_slice(_: &[&'a Material]) -> *mut CoglMaterial
[src]
impl<'a> ToGlibPtr<'a, *mut _CoglMaterial> for Material
[src]
type Storage = ()
fn to_glib_none(&self) -> Stash<'a, CoglMaterial, Material>
[src]
pub fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
pub fn to_glib_full(&self) -> P
[src]
impl<'a> ToGlibPtrMut<'a, *mut *mut _CoglMaterial> for Material
[src]
type Storage = ()
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut CoglMaterial, Material>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Material
impl !Send for Material
impl !Sync for Material
impl Unpin for Material
impl UnwindSafe for Material
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,