pub struct PixelTextureDraft<'a> {
pub repeat_s: bool,
pub repeat_t: bool,
pub mode: Option<&'a str>,
pub width: i32,
pub height: i32,
pub colour_components: i32,
pub pixel: &'a [&'a str],
}Expand description
Attributes of an IfcPixelTexture.
Fields§
§repeat_s: boolRepeatS.
repeat_t: boolRepeatT.
mode: Option<&'a str>Mode.
width: i32Width, at least one.
height: i32Height, at least one.
colour_components: i32ColourComponents, in 1..=4.
pixel: &'a [&'a str]Pixel: hex literals, one per cell, all the same length.
Trait Implementations§
Source§impl<'a> Clone for PixelTextureDraft<'a>
impl<'a> Clone for PixelTextureDraft<'a>
impl<'a> Copy for PixelTextureDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for PixelTextureDraft<'a>
impl<'a> RefUnwindSafe for PixelTextureDraft<'a>
impl<'a> Send for PixelTextureDraft<'a>
impl<'a> Sync for PixelTextureDraft<'a>
impl<'a> Unpin for PixelTextureDraft<'a>
impl<'a> UnsafeUnpin for PixelTextureDraft<'a>
impl<'a> UnwindSafe for PixelTextureDraft<'a>
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