pub struct SubRectMaterial {
pub material: String,
pub pos: Vec2,
pub size: Vec2,
}Fields§
§material: StringBase material
pos: Vec2§size: Vec2Trait Implementations§
Source§impl Clone for SubRectMaterial
impl Clone for SubRectMaterial
Source§fn clone(&self) -> SubRectMaterial
fn clone(&self) -> SubRectMaterial
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 SubRectMaterial
impl Debug for SubRectMaterial
Source§impl<'de> Deserialize<'de> for SubRectMaterial
impl<'de> Deserialize<'de> for SubRectMaterial
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SubRectMaterial
impl RefUnwindSafe for SubRectMaterial
impl Send for SubRectMaterial
impl Sync for SubRectMaterial
impl Unpin for SubRectMaterial
impl UnwindSafe for SubRectMaterial
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