Struct otter_api_tests::shapelib::PieceOccult[][src]

pub struct PieceOccult { /* fields omitted */ }

Implementations

impl PieceOccult[src]

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

pub fn active_views(
    &'r self,
    goccults: &'r GameOccults
) -> Result<Option<&'r OccultationViews>, InternalError>
[src]

pub fn active_region(
    &'r self,
    goccults: &'r GameOccults
) -> Result<Option<&'r RegionC<i32>>, InternalError>
[src]

pub fn active_total_ppieces(
    &self,
    goccults: &GameOccults
) -> Result<Option<u32>, InternalError>
[src]

pub fn passive_occid(&self) -> Option<OccId>[src]

pub fn passive_delete_hook(&self, goccults: &mut GameOccults, piece: PieceId)[src]

Trait Implementations

impl Clone for PieceOccult[src]

impl Debug for PieceOccult[src]

impl Default for PieceOccult[src]

impl<'de> Deserialize<'de> for PieceOccult[src]

impl Serialize for PieceOccult[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

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

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

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,