pub struct PhpIniDirective { /* private fields */ }Expand description
PHP INI directive metadata.
Implementations§
Source§impl PhpIniDirective
impl PhpIniDirective
pub const fn new(name: PhpIniDirectiveName, value: PhpIniValue) -> Self
pub fn with_section(self, section: PhpIniSectionName) -> Self
pub const fn section(&self) -> Option<&PhpIniSectionName>
pub const fn name(&self) -> &PhpIniDirectiveName
pub const fn value(&self) -> &PhpIniValue
Trait Implementations§
Source§impl Clone for PhpIniDirective
impl Clone for PhpIniDirective
Source§fn clone(&self) -> PhpIniDirective
fn clone(&self) -> PhpIniDirective
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 PhpIniDirective
impl Debug for PhpIniDirective
Source§impl Display for PhpIniDirective
impl Display for PhpIniDirective
Source§impl PartialEq for PhpIniDirective
impl PartialEq for PhpIniDirective
Source§fn eq(&self, other: &PhpIniDirective) -> bool
fn eq(&self, other: &PhpIniDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PhpIniDirective
Auto Trait Implementations§
impl Freeze for PhpIniDirective
impl RefUnwindSafe for PhpIniDirective
impl Send for PhpIniDirective
impl Sync for PhpIniDirective
impl Unpin for PhpIniDirective
impl UnsafeUnpin for PhpIniDirective
impl UnwindSafe for PhpIniDirective
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