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