pub struct WordPressThemeField { /* private fields */ }Expand description
WordPress theme metadata field.
Implementations§
Source§impl WordPressThemeField
impl WordPressThemeField
pub fn new(name: WordPressThemeFieldName, value: WordPressText) -> Self
pub const fn name(&self) -> &WordPressThemeFieldName
pub const fn value(&self) -> &WordPressText
Trait Implementations§
Source§impl Clone for WordPressThemeField
impl Clone for WordPressThemeField
Source§fn clone(&self) -> WordPressThemeField
fn clone(&self) -> WordPressThemeField
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 WordPressThemeField
impl Debug for WordPressThemeField
Source§impl PartialEq for WordPressThemeField
impl PartialEq for WordPressThemeField
Source§fn eq(&self, other: &WordPressThemeField) -> bool
fn eq(&self, other: &WordPressThemeField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WordPressThemeField
impl StructuralPartialEq for WordPressThemeField
Auto Trait Implementations§
impl Freeze for WordPressThemeField
impl RefUnwindSafe for WordPressThemeField
impl Send for WordPressThemeField
impl Sync for WordPressThemeField
impl Unpin for WordPressThemeField
impl UnsafeUnpin for WordPressThemeField
impl UnwindSafe for WordPressThemeField
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