braillify 2.0.1

Rust 기반 크로스플랫폼 한국어 점역 라이브러리
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! 수학 제64항 — 모자 기호 (p̂).
//!
//! Hat/circumflex combining U+0302 notation.

pub fn is_hat_notation(c: char) -> bool {
    c == '\u{0302}'
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_is_hat_notation() {
        assert!(is_hat_notation('\u{0302}'));
    }
}