[][src]Struct screeps::objects::RoomTerrain

pub struct RoomTerrain(_);

Methods

impl RoomTerrain[src]

pub fn constructor(room_name: RoomName) -> Self[src]

pub fn get(&self, x: u32, y: u32) -> Terrain[src]

pub fn get_raw_buffer(&self) -> Vec<u8>[src]

pub fn get_raw_buffer_to_vec<'a>(
    &self,
    buffer: &'a mut Vec<u8>
) -> Result<&'a mut Vec<u8>, ReturnCode>
[src]

Trait Implementations

impl FromExpectedType<Reference> for RoomTerrain[src]

impl Clone for RoomTerrain[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl AsRef<Reference> for RoomTerrain[src]

impl From<RoomTerrain> for Reference[src]

impl InstanceOf for RoomTerrain[src]

impl JsSerialize for RoomTerrain[src]

impl TryFrom<RoomTerrain> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for RoomTerrain[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for RoomTerrain[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl ReferenceType for RoomTerrain[src]

impl JsSerializeOwned for RoomTerrain[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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.