operator &= { associativity right precedence assignment } Declarations func &=(_: inout Int, rhs: Int) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout Int, rhs: Int) func &=(_: inout Int8, rhs: Int8) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout Int8, rhs: Int8) func &=(_: inout Int16, rhs: Int16) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout Int16, rhs: Int16) func &=(_: inout Int32, rhs: Int32) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout Int32, rhs: Int32) func &=(_: inout Int64, rhs: Int64) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout Int64, rhs: Int64) func &=(_: inout UInt, rhs: UInt) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout UInt, rhs: UInt) func &=(_: inout UInt8, rhs: UInt8) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout UInt8, rhs: UInt8) func &=(_: inout UInt16, rhs: UInt16) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout UInt16, rhs: UInt16) func &=(_: inout UInt32, rhs: UInt32) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout UInt32, rhs: UInt32) func &=(_: inout UInt64, rhs: UInt64) Stores the result of performing a bitwise AND operation on the two given values in the left-hand-side variable. A bitwise AND operation results in a value that has each bit set to 1 where both of its arguments have that bit set to 1. For example: var x: UInt8 = 5 // 0b00000101 let y: UInt8 = 14 // 0b00001110 x &= y // 0b00000100 Parameters: lhs: An integer value. rhs: Another integer value. Declaration func &=(lhs: inout UInt64, rhs: UInt64)