pub struct Data { /* private fields */ }Implementations§
Source§impl Data
impl Data
pub fn new() -> Self
pub fn from_ptr(ptr: *const fmx_Data) -> Self
pub fn is_empty(&self) -> bool
pub fn is_valid(&self) -> bool
pub fn clear(&mut self, new_type: DataType)
pub fn is_find_reqeust(&self) -> bool
pub fn get_as_number(&self) -> FixPt
pub fn get_as_text(&self) -> Text
pub fn get_as_date(&self) -> DateTime
pub fn get_as_time(&self) -> DateTime
pub fn get_as_timestamp(&self) -> DateTime
pub fn get_as_boolean(&self) -> bool
pub fn get_as_binary(&self) -> BinaryData
pub fn get_locale(&self) -> Locale
pub fn set_as_text<T: ToText>(&mut self, text: T)
pub fn set_as_text_with_locale<T: ToText>(&mut self, text: T, locale: Locale)
pub fn set_as_number<T: ToFixPt>(&mut self, number: T)
pub fn set_as_date(&mut self, datetime: DateTime)
pub fn set_as_time(&mut self, datetime: DateTime)
pub fn set_as_timestamp(&mut self, datetime: DateTime)
pub fn set_datetime( &mut self, datetime: DateTime, datetime_type: DataType, native_type: DataType, )
pub fn set_binarydata(&mut self, binary_data: BinaryData, force_type: bool)
pub fn get_data_type(&self) -> DataType
pub fn get_font_id<T: ToText>(&self, font_name: T, env: &ExprEnv) -> fmx_fontid
pub fn font_exists<T: ToText>( &self, font_id: fmx_fontid, font_name: T, env: &ExprEnv, ) -> bool
pub fn convert(&mut self, native_type: DataType)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl !Send for Data
impl !Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more