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