pub struct PHPTrait {
pub name: String,
pub properties: Vec<PHPProperty>,
pub methods: Vec<PHPFunction>,
}Expand description
PHP trait declaration.
Fields§
§name: StringTrait name
properties: Vec<PHPProperty>Properties
methods: Vec<PHPFunction>Methods
Implementations§
Trait Implementations§
impl StructuralPartialEq for PHPTrait
Auto Trait Implementations§
impl Freeze for PHPTrait
impl RefUnwindSafe for PHPTrait
impl Send for PHPTrait
impl Sync for PHPTrait
impl Unpin for PHPTrait
impl UnsafeUnpin for PHPTrait
impl UnwindSafe for PHPTrait
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