Struct screeps::objects::visual::CircleStyle
source · pub struct CircleStyle { /* private fields */ }
Implementations§
source§impl CircleStyle
impl CircleStyle
pub fn radius(self, val: f32) -> CircleStyle
pub fn fill(self, val: &str) -> CircleStyle
pub fn opacity(self, val: f32) -> CircleStyle
pub fn stroke(self, val: &str) -> CircleStyle
pub fn stroke_width(self, val: f32) -> CircleStyle
Trait Implementations§
source§impl Clone for CircleStyle
impl Clone for CircleStyle
source§fn clone(&self) -> CircleStyle
fn clone(&self) -> CircleStyle
Returns a copy 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 CircleStyle
impl Debug for CircleStyle
source§impl Default for CircleStyle
impl Default for CircleStyle
source§fn default() -> CircleStyle
fn default() -> CircleStyle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CircleStyle
impl Send for CircleStyle
impl Sync for CircleStyle
impl Unpin for CircleStyle
impl UnwindSafe for CircleStyle
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