Function compare [src]
Prototype
pub fn compare(lhs: Alignment, op: std.math.CompareOperator, rhs: Alignment) bool
Parameters
lhs: Alignment
op: std.math.CompareOperator
rhs: Alignment
Source
pub fn compare(lhs: Alignment, op: std.math.CompareOperator, rhs: Alignment) bool {
return std.math.compare(@intFromEnum(lhs), op, @intFromEnum(rhs));
}