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