[−][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 CallableParam for cell_t
[src]
fn push<T: ICallableApi>(&self, callable: &mut T) -> Result<(), SPError>
[src]
fn param_type() -> ParamType
[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]
fn cmp(&self, other: &cell_t) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.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<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx CStr
[src]
type Error = SPError
fn try_from_plugin(
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
[src]
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx str
[src]
type Error = Box<dyn Error>
fn try_from_plugin(
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
[src]
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx mut cell_t
[src]
type Error = SPError
fn try_from_plugin(
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
[src]
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx mut i32
[src]
type Error = SPError
fn try_from_plugin(
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
[src]
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'ctx> TryFromPlugin<'ctx, cell_t> for &'ctx mut f32
[src]
type Error = SPError
fn try_from_plugin(
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
[src]
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'ctx> TryFromPlugin<'ctx, cell_t> for IPluginFunction<'ctx>
[src]
type Error = GetFunctionError
fn try_from_plugin(
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
[src]
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
impl<'ctx, 'ty, T: HasHandleType> TryFromPlugin<'ctx, cell_t> for HandleRef<'ty, T>
[src]
type Error = HandleError
fn try_from_plugin(
ctx: &'ctx IPluginContext,
value: cell_t
) -> Result<Self, Self::Error>
[src]
ctx: &'ctx 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<'ctx, T> NativeResult for T where
T: TryIntoPlugin<'ctx, cell_t>,
[src]
T: TryIntoPlugin<'ctx, 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<'ctx, T, U> TryIntoPlugin<'ctx, U> for T where
U: TryFromPlugin<'ctx, T>,
[src]
U: TryFromPlugin<'ctx, T>,
type Error = <U as TryFromPlugin<'ctx, T>>::Error
fn try_into_plugin(
Self,
&'ctx IPluginContext
) -> Result<U, <U as TryFromPlugin<'ctx, T>>::Error>
[src]
Self,
&'ctx IPluginContext
) -> Result<U, <U as TryFromPlugin<'ctx, T>>::Error>