Struct ext_php_rs::describe::Property
source · [−]#[repr(C)]pub struct Property {
pub name: Str,
pub docs: DocBlock,
pub ty: Option<DataType>,
pub vis: Visibility,
pub static_: bool,
pub nullable: bool,
pub default: Option<Str>,
}
Expand description
Represents a property attached to an exported class.
Fields
name: Str
docs: DocBlock
ty: Option<DataType>
vis: Visibility
static_: bool
nullable: bool
default: Option<Str>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Property
impl !Send for Property
impl !Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more