Struct segment_tree::ops::Xor [] [src]

pub struct Xor;

Each node contains the bitwise xor of the interval it represents.

Trait Implementations

impl Operation<u8> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<u8> for Xor
[src]

impl Identity<u8> for Xor
[src]

Returns any identity.

impl Inverse<u8> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<u8>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<u8>> for Xor
[src]

impl Identity<Wrapping<u8>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<u8>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<u16> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<u16> for Xor
[src]

impl Identity<u16> for Xor
[src]

Returns any identity.

impl Inverse<u16> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<u16>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<u16>> for Xor
[src]

impl Identity<Wrapping<u16>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<u16>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<u32> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<u32> for Xor
[src]

impl Identity<u32> for Xor
[src]

Returns any identity.

impl Inverse<u32> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<u32>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<u32>> for Xor
[src]

impl Identity<Wrapping<u32>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<u32>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<u64> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<u64> for Xor
[src]

impl Identity<u64> for Xor
[src]

Returns any identity.

impl Inverse<u64> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<u64>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<u64>> for Xor
[src]

impl Identity<Wrapping<u64>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<u64>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<i8> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<i8> for Xor
[src]

impl Identity<i8> for Xor
[src]

Returns any identity.

impl Inverse<i8> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<i8>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<i8>> for Xor
[src]

impl Identity<Wrapping<i8>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<i8>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<i16> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<i16> for Xor
[src]

impl Identity<i16> for Xor
[src]

Returns any identity.

impl Inverse<i16> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<i16>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<i16>> for Xor
[src]

impl Identity<Wrapping<i16>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<i16>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<i32> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<i32> for Xor
[src]

impl Identity<i32> for Xor
[src]

Returns any identity.

impl Inverse<i32> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<i32>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<i32>> for Xor
[src]

impl Identity<Wrapping<i32>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<i32>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<i64> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<i64> for Xor
[src]

impl Identity<i64> for Xor
[src]

Returns any identity.

impl Inverse<i64> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<i64>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<i64>> for Xor
[src]

impl Identity<Wrapping<i64>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<i64>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<usize> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<usize> for Xor
[src]

impl Identity<usize> for Xor
[src]

Returns any identity.

impl Inverse<usize> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<usize>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<usize>> for Xor
[src]

impl Identity<Wrapping<usize>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<usize>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<isize> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<isize> for Xor
[src]

impl Identity<isize> for Xor
[src]

Returns any identity.

impl Inverse<isize> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.

impl Operation<Wrapping<isize>> for Xor
[src]

The operation that is performed to combine two intervals in the segment tree. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Replace the value in a with combine(a, b). This function exists to allow certain optimizations and by default simply calls combine. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_mut2. Read more

Must return the same as combine. This function exists to allow certain optimizations and by default simply calls combine_left. Read more

impl CommutativeOperation<Wrapping<isize>> for Xor
[src]

impl Identity<Wrapping<isize>> for Xor
[src]

Returns any identity.

impl Inverse<Wrapping<isize>> for Xor
[src]

Returns some value such that combine(uncombine(a, b), b) = a.