Struct cyfs_base::NamedObjType
source · [−]pub struct NamedObjType<DC, BC> { /* private fields */ }
Expand description
NamedObject Type 泛型定义
基于 NamedObjectDesc
Trait Implementations
sourceimpl<DC: Clone, BC: Clone> Clone for NamedObjType<DC, BC>
impl<DC: Clone, BC: Clone> Clone for NamedObjType<DC, BC>
sourcefn clone(&self) -> NamedObjType<DC, BC>
fn clone(&self) -> NamedObjType<DC, BC>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<DC: Debug, BC: Debug> Debug for NamedObjType<DC, BC>
impl<DC: Debug, BC: Debug> Debug for NamedObjType<DC, BC>
sourceimpl<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_stand_object() -> bool
fn is_core_object() -> bool
fn is_dec_app_object() -> bool
sourceimpl<DC: Ord, BC: Ord> Ord for NamedObjType<DC, BC>
impl<DC: Ord, BC: Ord> Ord for NamedObjType<DC, BC>
sourceimpl<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>
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &NamedObjType<DC, BC>) -> bool
fn ne(&self, other: &NamedObjType<DC, BC>) -> bool
This method tests for !=
.
sourceimpl<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>
sourcefn partial_cmp(&self, other: &NamedObjType<DC, BC>) -> Option<Ordering>
fn partial_cmp(&self, other: &NamedObjType<DC, BC>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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
impl<DC: Eq, BC: Eq> Eq for NamedObjType<DC, BC>
impl<DC, BC> StructuralEq for NamedObjType<DC, BC>
impl<DC, BC> StructuralPartialEq for NamedObjType<DC, BC>
Auto Trait Implementations
impl<DC, BC> RefUnwindSafe for NamedObjType<DC, BC> where
BC: RefUnwindSafe,
DC: RefUnwindSafe,
impl<DC, BC> Send for NamedObjType<DC, BC> where
BC: Send,
DC: Send,
impl<DC, BC> Sync for NamedObjType<DC, BC> where
BC: Sync,
DC: Sync,
impl<DC, BC> Unpin for NamedObjType<DC, BC> where
BC: Unpin,
DC: Unpin,
impl<DC, BC> UnwindSafe for NamedObjType<DC, BC> where
BC: UnwindSafe,
DC: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more