[][src]Struct screeps::objects::StructureRampart

pub struct StructureRampart(_);

Implementations

impl StructureRampart[src]

pub fn is_public(&self) -> bool[src]

impl StructureRampart[src]

pub fn set_public(&self, is_public: bool) -> ReturnCode[src]

Trait Implementations

impl AsRef<Reference> for StructureRampart[src]

impl Attackable for StructureRampart[src]

impl CanDecay for StructureRampart[src]

impl Clone for StructureRampart[src]

impl Eq for StructureRampart[src]

impl From<StructureRampart> for Reference[src]

impl FromExpectedType<Reference> for StructureRampart[src]

impl HasId for StructureRampart[src]

impl InstanceOf for StructureRampart[src]

impl JsSerialize for StructureRampart[src]

impl JsSerializeOwned for StructureRampart[src]

impl<'_r> JsSerializeOwned for &'_r StructureRampart[src]

impl OwnedStructureProperties for StructureRampart[src]

impl PartialEq<StructureRampart> for StructureRampart[src]

impl ReferenceType for StructureRampart[src]

impl RoomObjectProperties for StructureRampart[src]

impl StructureProperties for StructureRampart[src]

impl<'_r> TryFrom<&'_r Reference> for StructureRampart[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for StructureRampart[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Reference> for StructureRampart[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<StructureRampart> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Value> for StructureRampart[src]

type Error = ConversionError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromExpectedType<Value> for T where
    T: FromExpectedType<Reference>, 
[src]

impl<T> HasPosition for T where
    T: RoomObjectProperties
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoExpectedType<U> for T where
    U: FromExpectedType<T>, 
[src]

impl<T> SizedRoomObject for T where
    T: Into<Reference> + ReferenceType<Error = ConversionError, Error = ConversionError> + TryFrom<Value> + TryFrom<Reference> + RoomObjectProperties
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.