[][src]Struct sulis_state::RangeIndicator

pub struct RangeIndicator { /* fields omitted */ }

Implementations

impl RangeIndicator[src]

pub fn ability(
    parent: &Rc<RefCell<EntityState>>,
    ability: &Rc<Ability>
) -> RangeIndicator
[src]

Creates an ability range indicator. will panic if ability is not active.

pub fn targeter(
    radius: f32,
    parent: &Rc<RefCell<EntityState>>
) -> RangeIndicator
[src]

pub fn attack(parent: &Rc<RefCell<EntityState>>) -> RangeIndicator[src]

pub fn get_draw_list(
    &self,
    image_set: &RangeIndicatorImageSet,
    offset: Offset,
    millis: u32
) -> DrawList
[src]

Trait Implementations

impl Clone for RangeIndicator[src]

Auto Trait Implementations

impl !RefUnwindSafe for RangeIndicator

impl !Send for RangeIndicator

impl !Sync for RangeIndicator

impl Unpin for RangeIndicator

impl !UnwindSafe for RangeIndicator

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, U> Into<U> for T where
    U: From<T>, 
[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>, 
[src]