pub struct PHPInterface {
pub name: String,
pub extends: Vec<String>,
pub methods: Vec<PHPFunction>,
pub constants: Vec<(String, String)>,
}Expand description
PHP interface declaration.
Fields§
§name: StringInterface name
extends: Vec<String>Interfaces this extends
methods: Vec<PHPFunction>Method signatures (abstract methods)
constants: Vec<(String, String)>Constants
Implementations§
Trait Implementations§
Source§impl Clone for PHPInterface
impl Clone for PHPInterface
Source§fn clone(&self) -> PHPInterface
fn clone(&self) -> PHPInterface
Returns a duplicate of the value. Read more
1.0.0 · 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 PHPInterface
impl Debug for PHPInterface
Source§impl PartialEq for PHPInterface
impl PartialEq for PHPInterface
impl StructuralPartialEq for PHPInterface
Auto Trait Implementations§
impl Freeze for PHPInterface
impl RefUnwindSafe for PHPInterface
impl Send for PHPInterface
impl Sync for PHPInterface
impl Unpin for PHPInterface
impl UnsafeUnpin for PHPInterface
impl UnwindSafe for PHPInterface
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