[][src]Struct sm_ext::cell_t

#[repr(transparent)]
pub struct cell_t(_);

Wrapper type that represents a value from SourcePawn.

Could be a i32, f32, &i32, &f32, or &i8 (for character strings).

Trait Implementations

impl CallableParam for cell_t[src]

impl Clone for cell_t[src]

impl Copy for cell_t[src]

impl Debug for cell_t[src]

impl Display for cell_t[src]

impl Eq for cell_t[src]

impl From<HandleId> for cell_t[src]

impl From<cell_t> for i32[src]

impl From<cell_t> for f32[src]

impl From<cell_t> for HandleId[src]

impl From<f32> for cell_t[src]

impl From<i32> for cell_t[src]

impl Ord for cell_t[src]

impl PartialEq<cell_t> for cell_t[src]

impl PartialOrd<cell_t> for cell_t[src]

impl StructuralEq for cell_t[src]

impl StructuralPartialEq for cell_t[src]

impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx CStr[src]

type Error = SPError

impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx str[src]

type Error = Box<dyn Error>

impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx mut cell_t[src]

type Error = SPError

impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx mut i32[src]

type Error = SPError

impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx mut f32[src]

type Error = SPError

impl<'ctx> TryFromPlugin<'ctx, cell_t> for IPluginFunction<'ctx>[src]

type Error = GetFunctionError

impl<'ctx, 'ty, T: HasHandleType> TryFromPlugin<'ctx, cell_t> for HandleRef<'ty, T>[src]

type Error = HandleError

Auto Trait Implementations

impl RefUnwindSafe for cell_t

impl Send for cell_t

impl Sync for cell_t

impl Unpin for cell_t

impl UnwindSafe for cell_t

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<'ctx, T> NativeResult for T where
    T: TryIntoPlugin<'ctx, cell_t>, 
[src]

type Ok = T

type Err = DummyNativeError

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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> TryFromPlugin<'_, T> for U where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::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<'ctx, T, U> TryIntoPlugin<'ctx, U> for T where
    U: TryFromPlugin<'ctx, T>, 
[src]

type Error = <U as TryFromPlugin<'ctx, T>>::Error