[−][src]Struct rscache::def::osrs::ObjectDefinition
Contains all the information about a certain object fetched from the cache through the ObjectLoader.
The ObjectModelData
is hidden in the documents
because it is rarely accessed, it contains useless information in most use-cases.
Fields
id: u16
model_data: ObjectModelData
name: String
config_id: Option<u16>
map_area_id: Option<u16>
map_scene_id: u16
animation_id: u16
solid: bool
shadow: bool
obstruct_ground: bool
supports_items: Option<u8>
actions: [String; 5]
interact_type: u8
rotated: bool
ambient_sound_id: u16
blocks_projectile: bool
wall_or_door: Option<u8>
contoured_ground: Option<u8>
config_change_dest: Vec<u16>
params: HashMap<u32, String>
Trait Implementations
impl Clone for ObjectDefinition
[src]
fn clone(&self) -> ObjectDefinition
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ObjectDefinition
[src]
impl Default for ObjectDefinition
[src]
fn default() -> ObjectDefinition
[src]
impl Definition for ObjectDefinition
[src]
impl Eq for ObjectDefinition
[src]
impl Loader<ObjectDefinition> for ObjectLoader
[src]
fn new<S: Store>(cache: &Cache<S>) -> Result<ObjectLoader>
[src]
fn load(&self, id: u16) -> Option<&ObjectDefinition>
[src]
impl PartialEq<ObjectDefinition> for ObjectDefinition
[src]
fn eq(&self, other: &ObjectDefinition) -> bool
[src]
fn ne(&self, other: &ObjectDefinition) -> bool
[src]
impl StructuralEq for ObjectDefinition
[src]
impl StructuralPartialEq for ObjectDefinition
[src]
Auto Trait Implementations
impl RefUnwindSafe for ObjectDefinition
impl Send for ObjectDefinition
impl Sync for ObjectDefinition
impl Unpin for ObjectDefinition
impl UnwindSafe for ObjectDefinition
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> 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>,