baml.ops.BitOr
The bitwise OR operator, `self | rhs`.
Reference version
Signature
interface baml.ops.BitOr<Rhs extends baml.Concrete>The bitwise OR operator, self | rhs.
The same shape as Rust's
ops::BitOr, with the
same two's-complement treatment of negative operands as baml.ops.BitAnd.
An implementation may panic, which throws never does not rule out; a
caller working through a generic bound cannot enumerate the panics and must
be ready for one it cannot describe. See baml.ops.Add.
Source:<builtin>/baml/ns_ops/bitwise.bamlbytes 3093–3416
Associated types
type Output
Required instance methods
function
bit_or
(self, rhs: Rhs) -> (Self as baml.ops.BitOr<Rhs>).Output throws neverThe bitwise OR of self and rhs.