pub fn insert(&mut self, value: T) -> bool {
		match self.0.binary_search(&value) {
			Ok(_) => false,
			Err(loc) => {
				self.0.insert(loc, value);
				true
			}
		}
	}
/// Insert an element.
/// Return true if insertion happened.
Insert an element.
Return true if insertion happened.
Insert an element . Return true if insertion happened .
pub fn insert(&mut self, value: T) -> bool {
		match self.0.binary_search(&value) {
			Ok(_) => false,
			Err(loc) => {
				self.0.insert(loc, value);
				true
			}
		}
	}
pub fn insert ( & mut self , value : T ) -> bool { match self . 0 . binary_search ( & value ) { Ok ( _ ) => false , Err ( loc ) => { self . 0 . insert ( loc , value ) ; true } } }
Insert an element.
Insert an element .
&mut self
value
T