zsui 0.3.0-alpha.2

Rust-first feature-gated native UI framework for Win32, AppKit, and Linux.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::native_input_visuals::NativeTextShaper;

#[cfg(windows)]
pub(crate) trait NativePlatformTextShaper: NativeTextShaper + Send + Sync {}

#[cfg(windows)]
impl<T> NativePlatformTextShaper for T where T: NativeTextShaper + Send + Sync {}

#[cfg(not(windows))]
pub(crate) trait NativePlatformTextShaper: NativeTextShaper {}

#[cfg(not(windows))]
impl<T> NativePlatformTextShaper for T where T: NativeTextShaper {}