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,
type DescType = NamedObjectDesc<DC>
type ContentType = BC
fn obj_type_code() -> ObjectTypeCode
fn obj_type() -> u16
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: PartialOrd, BC: PartialOrd> PartialOrd for NamedObjType<DC, BC>
impl<DC: PartialOrd, BC: PartialOrd> PartialOrd for NamedObjType<DC, BC>
impl<DC: Eq, BC: Eq> Eq for NamedObjType<DC, BC>
impl<DC, BC> StructuralPartialEq for NamedObjType<DC, BC>
Auto Trait Implementations§
impl<DC, BC> Freeze for NamedObjType<DC, BC>
impl<DC, BC> RefUnwindSafe for NamedObjType<DC, BC>where
DC: RefUnwindSafe,
BC: RefUnwindSafe,
impl<DC, BC> Send for NamedObjType<DC, BC>
impl<DC, BC> Sync for NamedObjType<DC, BC>
impl<DC, BC> Unpin for NamedObjType<DC, BC>
impl<DC, BC> UnwindSafe for NamedObjType<DC, BC>where
DC: UnwindSafe,
BC: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more