pub struct ObjectMaterialData {
pub modelid: i32,
pub textureLibrary: String,
pub textureName: String,
pub materialColour: Colour,
pub text: String,
pub materialSize: i32,
pub fontFace: String,
pub fontSize: i32,
pub bold: bool,
pub fontColour: Colour,
pub backgroundColour: Colour,
pub textAlignment: i32,
}Expand description
Object Material Data
Fields§
§modelid: i32§textureLibrary: String§textureName: String§materialColour: Colour§text: String§materialSize: i32§fontFace: String§fontSize: i32§bold: bool§fontColour: Colour§backgroundColour: Colour§textAlignment: i32Implementations§
Trait Implementations§
Source§impl Clone for ObjectMaterialData
impl Clone for ObjectMaterialData
Source§fn clone(&self) -> ObjectMaterialData
fn clone(&self) -> ObjectMaterialData
Returns a duplicate of the value. Read more
1.0.0 · 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 ObjectMaterialData
impl Debug for ObjectMaterialData
Source§impl PartialEq for ObjectMaterialData
impl PartialEq for ObjectMaterialData
impl StructuralPartialEq for ObjectMaterialData
Auto Trait Implementations§
impl Freeze for ObjectMaterialData
impl RefUnwindSafe for ObjectMaterialData
impl Send for ObjectMaterialData
impl Sync for ObjectMaterialData
impl Unpin for ObjectMaterialData
impl UnwindSafe for ObjectMaterialData
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