Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
serde_macros 0.6.11 - Docs.rs
[go: Go Back, main page]

serde_macros 0.6.11

Macros to auto-generate implementations for the serde framework
1
2
3
4
5
6
7
8
9
use std::u64;

pub fn foo(x: bool) -> u64 {
    if x {
        u64::MAX
    } else {
        0
    }
}