[−][src]Struct sixtyfps_rendering_backend_default::native_widgets::NativeStyleMetrics
Fields
layout_spacing: Property<f32>
layout_padding: Property<f32>
text_cursor_width: Property<f32>
Implementations
impl NativeStyleMetrics
[src]
pub fn new() -> Pin<Rc<NativeStyleMetrics>>
[src]
impl NativeStyleMetrics
[src]
pub const FIELD_OFFSETS: NativeStyleMetricsFieldsOffsets
[src]
Return a struct containing the offset of for the fields of this struct
Trait Implementations
impl BuiltinItem for NativeStyleMetrics
[src]
pub fn name() -> &'static str
[src]
pub fn properties<Value>(
) -> Vec<(&'static str, &'static (dyn PropertyInfo<NativeStyleMetrics, Value> + 'static)), Global> where
Value: ValueType,
[src]
) -> Vec<(&'static str, &'static (dyn PropertyInfo<NativeStyleMetrics, Value> + 'static)), Global> where
Value: ValueType,
pub fn fields<Value>(
) -> Vec<(&'static str, &'static (dyn FieldInfo<NativeStyleMetrics, Value> + 'static)), Global> where
Value: ValueType,
[src]
) -> Vec<(&'static str, &'static (dyn FieldInfo<NativeStyleMetrics, Value> + 'static)), Global> where
Value: ValueType,
pub fn signals(
) -> Vec<(&'static str, FieldOffset<NativeStyleMetrics, Signal<(), ()>, AllowPin>), Global>
[src]
) -> Vec<(&'static str, FieldOffset<NativeStyleMetrics, Signal<(), ()>, AllowPin>), Global>
impl Default for NativeStyleMetrics
[src]
pub fn default() -> NativeStyleMetrics
[src]
impl<'__dummy_lifetime> Unpin for NativeStyleMetrics where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations
impl !RefUnwindSafe for NativeStyleMetrics
impl Send for NativeStyleMetrics
impl !Sync for NativeStyleMetrics
impl UnwindSafe for NativeStyleMetrics
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>,