Struct ext_php_rs::describe::Constant
source · #[repr(C)]pub struct Constant {
pub name: Str,
pub docs: DocBlock,
pub value: Option<Str>,
}
Expand description
Represents an exported constant, stand alone or attached to a class.
Fields§
§name: Str
§docs: DocBlock
§value: Option<Str>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Constant
impl !Send for Constant
impl !Sync for Constant
impl Unpin for Constant
impl UnwindSafe for Constant
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