pub struct FbxTexture {
pub name: Option<String>,
pub content: Option<Vec<u8>>,
pub filename: Option<String>,
}Available on crate features
fbx-reader or fbx-writer only.Expand description
Texture object extracted from an FBX Texture / Video pair.
Fields§
§name: Option<String>Name supplied by the FBX texture node, when available.
content: Option<Vec<u8>>Embedded image bytes from Video.Content (PNG/JPG), when available.
filename: Option<String>RelativeFilename / FileName from the FBX video/texture node.
Trait Implementations§
Source§impl Clone for FbxTexture
impl Clone for FbxTexture
Source§fn clone(&self) -> FbxTexture
fn clone(&self) -> FbxTexture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FbxTexture
impl Debug for FbxTexture
Source§impl Default for FbxTexture
impl Default for FbxTexture
Source§fn default() -> FbxTexture
fn default() -> FbxTexture
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FbxTexture
impl RefUnwindSafe for FbxTexture
impl Send for FbxTexture
impl Sync for FbxTexture
impl Unpin for FbxTexture
impl UnsafeUnpin for FbxTexture
impl UnwindSafe for FbxTexture
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