Struct ExDrawColoredPolygon
pub struct ExDrawColoredPolygon<'ex> { /* private fields */ }Expand description
Default-param extender for CanvasItem::draw_colored_polygon_ex.
Implementations§
§impl<'ex> ExDrawColoredPolygon<'ex>
impl<'ex> ExDrawColoredPolygon<'ex>
pub fn uvs(self, uvs: &'ex PackedArray<Vector2>) -> ExDrawColoredPolygon<'ex>
pub fn texture( self, texture: impl AsArg<Option<Gd<Texture2D>>> + 'ex, ) -> ExDrawColoredPolygon<'ex>
pub fn done(self)
Auto Trait Implementations§
impl<'ex> Freeze for ExDrawColoredPolygon<'ex>
impl<'ex> RefUnwindSafe for ExDrawColoredPolygon<'ex>
impl<'ex> !Send for ExDrawColoredPolygon<'ex>
impl<'ex> !Sync for ExDrawColoredPolygon<'ex>
impl<'ex> Unpin for ExDrawColoredPolygon<'ex>
impl<'ex> !UnwindSafe for ExDrawColoredPolygon<'ex>
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