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 moresourceimpl<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>
sourcefn cmp(&self, other: &NamedObjType<DC, BC>) -> Ordering
fn cmp(&self, other: &NamedObjType<DC, BC>) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
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
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>
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 moreimpl<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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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