[−][src]Struct sm_ext::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 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]
fn cmp(&self, other: &cell_t) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> Self1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<cell_t> for cell_t[src]
impl PartialOrd<cell_t> for cell_t[src]
fn partial_cmp(&self, other: &cell_t) -> Option<Ordering>[src]
fn lt(&self, other: &cell_t) -> bool[src]
fn le(&self, other: &cell_t) -> bool[src]
fn gt(&self, other: &cell_t) -> bool[src]
fn ge(&self, other: &cell_t) -> bool[src]
impl StructuralEq for cell_t[src]
impl StructuralPartialEq for cell_t[src]
impl<'a> TryFromPlugin<'a, cell_t> for &'a CStr[src]
type Error = SPError
fn try_from_plugin(
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>[src]
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'a> TryFromPlugin<'a, cell_t> for &'a str[src]
type Error = Box<dyn Error>
fn try_from_plugin(
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>[src]
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'a> TryFromPlugin<'a, cell_t> for &'a mut cell_t[src]
type Error = SPError
fn try_from_plugin(
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>[src]
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'a> TryFromPlugin<'a, cell_t> for &'a mut i32[src]
type Error = SPError
fn try_from_plugin(
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>[src]
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'a> TryFromPlugin<'a, cell_t> for &'a mut f32[src]
type Error = SPError
fn try_from_plugin(
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>[src]
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'a> TryFromPlugin<'a, cell_t> for IPluginFunction[src]
type Error = GetFunctionError
fn try_from_plugin(
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>[src]
ctx: &'a IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
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]
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<'a, T> NativeResult for T where
T: TryIntoPlugin<'a, cell_t>, [src]
T: TryIntoPlugin<'a, cell_t>,
type Ok = T
type Err = DummyNativeError
fn into_result(
Self
) -> Result<<T as NativeResult>::Ok, <T as NativeResult>::Err>[src]
Self
) -> Result<<T as NativeResult>::Ok, <T as NativeResult>::Err>
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> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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> TryFromPlugin<'_, T> for U where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
fn try_from_plugin(
&IPluginContext,
T
) -> Result<U, <U as TryFromPlugin<'_, T>>::Error>[src]
&IPluginContext,
T
) -> Result<U, <U as TryFromPlugin<'_, T>>::Error>
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<'a, T, U> TryIntoPlugin<'a, U> for T where
U: TryFromPlugin<'a, T>, [src]
U: TryFromPlugin<'a, T>,
type Error = <U as TryFromPlugin<'a, T>>::Error
fn try_into_plugin(
Self,
&'a IPluginContext
) -> Result<U, <U as TryFromPlugin<'a, T>>::Error>[src]
Self,
&'a IPluginContext
) -> Result<U, <U as TryFromPlugin<'a, T>>::Error>