Struct BuiltinFunctionTypes

Source
pub struct BuiltinFunctionTypes {
Show 67 fields pub GetWindowScaleFactor: Rc<Function>, pub GetWindowDefaultFontSize: Rc<Function>, pub AnimationTick: Rc<Function>, pub Debug: Rc<Function>, pub Mod: Rc<Function>, pub Round: Rc<Function>, pub Ceil: Rc<Function>, pub Floor: Rc<Function>, pub Sqrt: Rc<Function>, pub Abs: Rc<Function>, pub Cos: Rc<Function>, pub Sin: Rc<Function>, pub Tan: Rc<Function>, pub ACos: Rc<Function>, pub ASin: Rc<Function>, pub ATan: Rc<Function>, pub ATan2: Rc<Function>, pub Log: Rc<Function>, pub Ln: Rc<Function>, pub Pow: Rc<Function>, pub Exp: Rc<Function>, pub ToFixed: Rc<Function>, pub ToPrecision: Rc<Function>, pub SetFocusItem: Rc<Function>, pub ClearFocusItem: Rc<Function>, pub ShowPopupWindow: Rc<Function>, pub ClosePopupWindow: Rc<Function>, pub ShowPopupMenu: Rc<Function>, pub SetSelectionOffsets: Rc<Function>, pub ItemFontMetrics: Rc<Function>, pub StringToFloat: Rc<Function>, pub StringIsFloat: Rc<Function>, pub StringIsEmpty: Rc<Function>, pub StringCharacterCount: Rc<Function>, pub StringToLowercase: Rc<Function>, pub StringToUppercase: Rc<Function>, pub ImplicitLayoutInfo: Rc<Function>, pub ColorRgbaStruct: Rc<Function>, pub ColorHsvaStruct: Rc<Function>, pub ColorBrighter: Rc<Function>, pub ColorDarker: Rc<Function>, pub ColorTransparentize: Rc<Function>, pub ColorWithAlpha: Rc<Function>, pub ColorMix: Rc<Function>, pub ImageSize: Rc<Function>, pub ArrayLength: Rc<Function>, pub Rgb: Rc<Function>, pub Hsv: Rc<Function>, pub ColorScheme: Rc<Function>, pub SupportsNativeMenuBar: Rc<Function>, pub SetupNativeMenuBar: Rc<Function>, pub MonthDayCount: Rc<Function>, pub MonthOffset: Rc<Function>, pub FormatDate: Rc<Function>, pub TextInputFocused: Rc<Function>, pub DateNow: Rc<Function>, pub ValidDate: Rc<Function>, pub ParseDate: Rc<Function>, pub SetTextInputFocused: Rc<Function>, pub ItemAbsolutePosition: Rc<Function>, pub RegisterCustomFontByPath: Rc<Function>, pub RegisterCustomFontByMemory: Rc<Function>, pub RegisterBitmapFont: Rc<Function>, pub Translate: Rc<Function>, pub Use24HourFormat: Rc<Function>, pub UpdateTimers: Rc<Function>, pub DetectOperatingSystem: Rc<Function>,
}

Fields§

§GetWindowScaleFactor: Rc<Function>§GetWindowDefaultFontSize: Rc<Function>§AnimationTick: Rc<Function>§Debug: Rc<Function>§Mod: Rc<Function>§Round: Rc<Function>§Ceil: Rc<Function>§Floor: Rc<Function>§Sqrt: Rc<Function>§Abs: Rc<Function>§Cos: Rc<Function>§Sin: Rc<Function>§Tan: Rc<Function>§ACos: Rc<Function>§ASin: Rc<Function>§ATan: Rc<Function>§ATan2: Rc<Function>§Log: Rc<Function>§Ln: Rc<Function>§Pow: Rc<Function>§Exp: Rc<Function>§ToFixed: Rc<Function>§ToPrecision: Rc<Function>§SetFocusItem: Rc<Function>§ClearFocusItem: Rc<Function>§ShowPopupWindow: Rc<Function>§ClosePopupWindow: Rc<Function>§ShowPopupMenu: Rc<Function>§SetSelectionOffsets: Rc<Function>§ItemFontMetrics: Rc<Function>§StringToFloat: Rc<Function>§StringIsFloat: Rc<Function>§StringIsEmpty: Rc<Function>§StringCharacterCount: Rc<Function>§StringToLowercase: Rc<Function>§StringToUppercase: Rc<Function>§ImplicitLayoutInfo: Rc<Function>§ColorRgbaStruct: Rc<Function>§ColorHsvaStruct: Rc<Function>§ColorBrighter: Rc<Function>§ColorDarker: Rc<Function>§ColorTransparentize: Rc<Function>§ColorWithAlpha: Rc<Function>§ColorMix: Rc<Function>§ImageSize: Rc<Function>§ArrayLength: Rc<Function>§Rgb: Rc<Function>§Hsv: Rc<Function>§ColorScheme: Rc<Function>§SupportsNativeMenuBar: Rc<Function>§SetupNativeMenuBar: Rc<Function>§MonthDayCount: Rc<Function>§MonthOffset: Rc<Function>§FormatDate: Rc<Function>§TextInputFocused: Rc<Function>§DateNow: Rc<Function>§ValidDate: Rc<Function>§ParseDate: Rc<Function>§SetTextInputFocused: Rc<Function>§ItemAbsolutePosition: Rc<Function>§RegisterCustomFontByPath: Rc<Function>§RegisterCustomFontByMemory: Rc<Function>§RegisterBitmapFont: Rc<Function>§Translate: Rc<Function>§Use24HourFormat: Rc<Function>§UpdateTimers: Rc<Function>§DetectOperatingSystem: Rc<Function>

Implementations§

Source§

impl BuiltinFunctionTypes

Source

pub fn new() -> Self

Source

pub fn ty(&self, function: &BuiltinFunction) -> Rc<Function>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,