pub struct LayeredTexture {
pub blend_mode: i32,
pub alpha: f32,
/* private fields */
}Fields§
§blend_mode: i32§alpha: f32Implementations§
Source§impl LayeredTexture
impl LayeredTexture
pub fn inner(&self) -> &OwnedObject
pub fn into_inner(self) -> OwnedObject
pub fn blend_mode(&self) -> i32
pub fn alpha(&self) -> f32
Sourcepub fn get_textures<'a>(
&'a self,
document: &'a OwnedDocument,
) -> Vec<&'a Texture>
pub fn get_textures<'a>( &'a self, document: &'a OwnedDocument, ) -> Vec<&'a Texture>
Resolve incoming Texture -> LayeredTexture links.
pub fn texture_count(&self, document: &OwnedDocument) -> usize
Trait Implementations§
Source§impl Debug for LayeredTexture
impl Debug for LayeredTexture
Source§impl PartialEq for LayeredTexture
impl PartialEq for LayeredTexture
Source§impl TryFrom<OwnedObject> for LayeredTexture
impl TryFrom<OwnedObject> for LayeredTexture
Source§type Error = FbxTypeMismatch
type Error = FbxTypeMismatch
The type returned in the event of a conversion error.
impl StructuralPartialEq for LayeredTexture
Auto Trait Implementations§
impl Freeze for LayeredTexture
impl RefUnwindSafe for LayeredTexture
impl Send for LayeredTexture
impl Sync for LayeredTexture
impl Unpin for LayeredTexture
impl UnsafeUnpin for LayeredTexture
impl UnwindSafe for LayeredTexture
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