Struct screeps::objects::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 Default for CircleStyle
impl Default for CircleStyle
source§fn default() -> CircleStyle
fn default() -> CircleStyle
Returns the “default value” for a type. Read more