[−][src]Struct screeps::objects::PolyStyle
Implementations
impl PolyStyle
[src]
pub fn fill(self, val: &str) -> PolyStyle
[src]
pub fn opacity(self, val: f32) -> PolyStyle
[src]
pub fn stroke(self, val: &str) -> PolyStyle
[src]
pub fn stroke_width(self, val: f32) -> PolyStyle
[src]
pub fn line_style(self, val: LineDrawStyle) -> PolyStyle
[src]
Trait Implementations
impl Clone for PolyStyle
[src]
impl Default for PolyStyle
[src]
impl JsSerialize for PolyStyle
[src]
impl JsSerializeOwned for PolyStyle
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl<'_r> JsSerializeOwned for &'_r PolyStyle
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl Serialize for PolyStyle
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'_a> TryFrom<&'_a PolyStyle> for Value
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'_a PolyStyle) -> Result<Self, Self::Error>
[src]
impl<'_a> TryFrom<&'_a mut PolyStyle> for Value
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &'_a mut PolyStyle) -> Result<Self, Self::Error>
[src]
impl TryFrom<PolyStyle> for Value
[src]
Auto Trait Implementations
impl RefUnwindSafe for PolyStyle
impl Send for PolyStyle
impl Sync for PolyStyle
impl Unpin for PolyStyle
impl UnwindSafe for PolyStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoExpectedType<U> for T where
U: FromExpectedType<T>,
[src]
U: FromExpectedType<T>,
fn into_expected_type(Self) -> Result<U, ConversionError>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,