[][src]Struct fm_plugin::ffi::data::Data

pub struct Data { /* fields omitted */ }

Implementations

impl Data[src]

pub fn new() -> Self[src]

pub fn from_ptr(ptr: *const fmx_Data) -> Self[src]

pub fn get_as_number(&self) -> FixPt[src]

pub fn get_as_text(&self) -> Text[src]

pub fn get_locale(&self) -> Locale[src]

pub fn set_as_text(&mut self, text: Text, locale: Locale)[src]

pub fn set_as_number(&mut self, number: FixPt)[src]

pub fn set_as_date(&mut self, datetime: DateTime)[src]

pub fn set_as_time(&mut self, datetime: DateTime)[src]

pub fn set_as_timestamp(&mut self, datetime: DateTime)[src]

pub fn set_datetime(
    &mut self,
    datetime: DateTime,
    datetime_type: DataType,
    native_type: DataType
)
[src]

pub fn set_binarydata(&mut self, binary_data: BinaryData, force_type: bool)[src]

pub fn get_data_type(&self) -> DataType[src]

pub fn get_font_id<T: ToText>(&self, font_name: T, env: ExprEnv) -> fmx_fontid[src]

pub fn font_exists<T: ToText>(
    &self,
    font_id: fmx_fontid,
    font_name: T,
    env: ExprEnv
) -> bool
[src]

pub fn convert(&mut self, native_type: DataType)[src]

Trait Implementations

impl Default for Data[src]

impl Drop for Data[src]

impl<'_> From<&'_ Data> for i32[src]

impl From<Data> for i32[src]

impl From<Data> for String[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> From<T> for T[src]

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