Struct cyfs_base::NamedObjType
source · pub struct NamedObjType<DC, BC> { /* private fields */ }
Expand description
NamedObject Type 泛型定义
基于 NamedObjectDesc
Trait Implementations§
source§impl<DC: Clone, BC: Clone> Clone for NamedObjType<DC, BC>
impl<DC: Clone, BC: Clone> Clone for NamedObjType<DC, BC>
source§fn clone(&self) -> NamedObjType<DC, BC>
fn clone(&self) -> NamedObjType<DC, BC>
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 moresource§impl<DC, BC> ObjectType for NamedObjType<DC, BC>where
DC: RawEncode + DescContent + Sync + Send + Clone,
BC: Sync + Send + Clone + RawEncode + BodyContent,
impl<DC, BC> ObjectType for NamedObjType<DC, BC>where DC: RawEncode + DescContent + Sync + Send + Clone, BC: Sync + Send + Clone + RawEncode + BodyContent,
fn obj_type_code() -> ObjectTypeCode
fn obj_type() -> u16
type DescType = NamedObjectDesc<DC>
type ContentType = BC
fn is_standard_object() -> bool
fn is_core_object() -> bool
fn is_dec_app_object() -> bool
source§impl<DC: Ord, BC: Ord> Ord for NamedObjType<DC, BC>
impl<DC: Ord, BC: Ord> Ord for NamedObjType<DC, BC>
source§fn cmp(&self, other: &NamedObjType<DC, BC>) -> Ordering
fn cmp(&self, other: &NamedObjType<DC, BC>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<DC: PartialEq, BC: PartialEq> PartialEq<NamedObjType<DC, BC>> for NamedObjType<DC, BC>
impl<DC: PartialEq, BC: PartialEq> PartialEq<NamedObjType<DC, BC>> for NamedObjType<DC, BC>
source§fn eq(&self, other: &NamedObjType<DC, BC>) -> bool
fn eq(&self, other: &NamedObjType<DC, BC>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<DC: PartialOrd, BC: PartialOrd> PartialOrd<NamedObjType<DC, BC>> for NamedObjType<DC, BC>
impl<DC: PartialOrd, BC: PartialOrd> PartialOrd<NamedObjType<DC, BC>> for NamedObjType<DC, BC>
source§fn partial_cmp(&self, other: &NamedObjType<DC, BC>) -> Option<Ordering>
fn partial_cmp(&self, other: &NamedObjType<DC, BC>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more