pub struct DrupalMetadataReference { /* private fields */ }Expand description
Drupal metadata reference.
Implementations§
Source§impl DrupalMetadataReference
impl DrupalMetadataReference
pub fn new(name: &str, kind: DrupalExtensionKind) -> Result<Self, DrupalError>
pub fn name(&self) -> &str
pub const fn kind(&self) -> DrupalExtensionKind
Trait Implementations§
Source§impl Clone for DrupalMetadataReference
impl Clone for DrupalMetadataReference
Source§fn clone(&self) -> DrupalMetadataReference
fn clone(&self) -> DrupalMetadataReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DrupalMetadataReference
impl Debug for DrupalMetadataReference
Source§impl PartialEq for DrupalMetadataReference
impl PartialEq for DrupalMetadataReference
Source§fn eq(&self, other: &DrupalMetadataReference) -> bool
fn eq(&self, other: &DrupalMetadataReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DrupalMetadataReference
impl StructuralPartialEq for DrupalMetadataReference
Auto Trait Implementations§
impl Freeze for DrupalMetadataReference
impl RefUnwindSafe for DrupalMetadataReference
impl Send for DrupalMetadataReference
impl Sync for DrupalMetadataReference
impl Unpin for DrupalMetadataReference
impl UnsafeUnpin for DrupalMetadataReference
impl UnwindSafe for DrupalMetadataReference
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