union mach_msg_option_t [src]

Alias for std.c.darwin.mach_msg_option_t

Fields

RCV: MACH.RCV
SEND: MACH.SEND

Members

Source

pub const mach_msg_option_t = packed union { RCV: MACH.RCV, SEND: MACH.SEND, pub const NONE: mach_msg_option_t = @bitCast(@as(integer_t, 0)); pub fn sendAndRcv(send: MACH.SEND, rcv: MACH.RCV) mach_msg_option_t { return @bitCast(@as(integer_t, @bitCast(send)) | @as(integer_t, @bitCast(rcv))); } }