pub struct BlobTexture<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcBlobTexture: a raster image embedded inline as binary data.
Implementations§
Source§impl<'m, 's> BlobTexture<'m, 's>
impl<'m, 's> BlobTexture<'m, 's>
Sourcepub fn surface_texture(&self) -> SurfaceTexture<'m, 's>
pub fn surface_texture(&self) -> SurfaceTexture<'m, 's>
The base IfcSurfaceTexture attributes shared with other texture kinds.
Sourcepub fn raster_format(&self) -> StyleResult<&'m str>
pub fn raster_format(&self) -> StyleResult<&'m str>
The RasterFormat attribute (e.g. "PNG", "JPEG"). Mandatory.
Sourcepub fn raster_code(&self) -> StyleResult<&'m Value>
pub fn raster_code(&self) -> StyleResult<&'m Value>
The RasterCode attribute: the raw binary image data. Mandatory.
Trait Implementations§
Source§impl<'m, 's> Clone for BlobTexture<'m, 's>
impl<'m, 's> Clone for BlobTexture<'m, 's>
Source§fn clone(&self) -> BlobTexture<'m, 's>
fn clone(&self) -> BlobTexture<'m, 's>
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 moreimpl<'m, 's> Copy for BlobTexture<'m, 's>
Auto Trait Implementations§
impl<'m, 's> !RefUnwindSafe for BlobTexture<'m, 's>
impl<'m, 's> !UnwindSafe for BlobTexture<'m, 's>
impl<'m, 's> Freeze for BlobTexture<'m, 's>
impl<'m, 's> Send for BlobTexture<'m, 's>
impl<'m, 's> Sync for BlobTexture<'m, 's>
impl<'m, 's> Unpin for BlobTexture<'m, 's>
impl<'m, 's> UnsafeUnpin for BlobTexture<'m, 's>
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