Struct cyfs_base::SetContentT
source · pub struct SetContentT<T>where
T: Send + Sync + Clone + Ord + Display + RawEncode + IntoObjectMapContentItem + From<SetIteratorPostion>,{ /* private fields */ }
Implementations§
source§impl<T> SetContentT<T>where
T: Send + Sync + Clone + Ord + Display + RawEncode + IntoObjectMapContentItem + From<SetIteratorPostion>,
SetIteratorPostion: From<T>,
impl<T> SetContentT<T>where T: Send + Sync + Clone + Ord + Display + RawEncode + IntoObjectMapContentItem + From<SetIteratorPostion>, SetIteratorPostion: From<T>,
pub fn new() -> Self
pub fn values(&self) -> &BTreeSet<T>
pub fn into_values(self) -> BTreeSet<T>
pub fn merge(&mut self, other: Self) -> BuckyResult<()>
pub fn list(&self, list: &mut ObjectMapContentList) -> BuckyResult<usize>
pub fn next(&self, it: &mut ObjectMapIterator) -> BuckyResult<()>
pub fn contains(&self, value: &T) -> BuckyResult<bool>
pub fn insert(&mut self, value: &T) -> BuckyResult<bool>
pub fn remove(&mut self, value: &T) -> BuckyResult<bool>
Trait Implementations§
source§impl<T> Clone for SetContentT<T>where
T: Send + Sync + Clone + Ord + Display + RawEncode + IntoObjectMapContentItem + From<SetIteratorPostion> + Clone,
impl<T> Clone for SetContentT<T>where T: Send + Sync + Clone + Ord + Display + RawEncode + IntoObjectMapContentItem + From<SetIteratorPostion> + Clone,
source§fn clone(&self) -> SetContentT<T>
fn clone(&self) -> SetContentT<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more