Struct gluon_base::kind::ArcKind [−][src]
pub struct ArcKind(_);
Reference counted kind type.
Methods
impl ArcKind
[src]
impl ArcKind
pub fn new(kind: Kind) -> ArcKind
[src]
pub fn new(kind: Kind) -> ArcKind
pub fn make_mut(kind: &mut ArcKind) -> &mut Kind
[src]
pub fn make_mut(kind: &mut ArcKind) -> &mut Kind
pub fn strong_count(kind: &ArcKind) -> usize
[src]
pub fn strong_count(kind: &ArcKind) -> usize
Methods from Deref<Target = Kind>
Trait Implementations
impl<'a, A, B, E> ToDoc<'a, A, B, E> for ArcKind
[src]
impl<'a, A, B, E> ToDoc<'a, A, B, E> for ArcKind
fn to_doc(&'a self, allocator: &'a A, _: E) -> DocBuilder<'a, A, B> where
A: DocAllocator<'a, B>,
[src]
fn to_doc(&'a self, allocator: &'a A, _: E) -> DocBuilder<'a, A, B> where
A: DocAllocator<'a, B>,
impl Clone for ArcKind
[src]
impl Clone for ArcKind
fn clone(&self) -> ArcKind
[src]
fn clone(&self) -> ArcKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for ArcKind
[src]
impl Eq for ArcKind
impl PartialEq for ArcKind
[src]
impl PartialEq for ArcKind
fn eq(&self, other: &ArcKind) -> bool
[src]
fn eq(&self, other: &ArcKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ArcKind) -> bool
[src]
fn ne(&self, other: &ArcKind) -> bool
This method tests for !=
.
impl Hash for ArcKind
[src]
impl Hash for ArcKind
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl StableDeref for ArcKind
[src]
impl StableDeref for ArcKind
impl Deref for ArcKind
[src]
impl Deref for ArcKind
type Target = Kind
The resulting type after dereferencing.
fn deref(&self) -> &Kind
[src]
fn deref(&self) -> &Kind
Dereferences the value.
impl From<Kind> for ArcKind
[src]
impl From<Kind> for ArcKind
impl Debug for ArcKind
[src]
impl Debug for ArcKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for ArcKind
[src]
impl Display for ArcKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, F: ?Sized> Walker<'a, ArcKind> for F where
F: FnMut(&ArcKind),
[src]
impl<'a, F: ?Sized> Walker<'a, ArcKind> for F where
F: FnMut(&ArcKind),