[−][src]Struct fm_plugin::ffi::data::Data
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]
&mut self,
datetime: DateTime,
datetime_type: DataType,
native_type: DataType
)
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]
&self,
font_id: fmx_fontid,
font_name: T,
env: ExprEnv
) -> bool
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
impl RefUnwindSafe for Data
[src]
impl !Send for Data
[src]
impl !Sync for Data
[src]
impl Unpin for Data
[src]
impl UnwindSafe for Data
[src]
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,
pub 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<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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,