pub enum ArgumentTypeHint {
Null,
Bool,
Int,
Float,
String,
Array,
Object,
Callable,
Iterable,
Mixed,
ClassEntry(String),
}
Expand description
PHP argument typehints
Variants§
Null
null typehint
Bool
bool typehint
Int
int typehint
Float
float typehint
String
string typehint
Array
array typehint
Object
object typehint
Callable
callable typehint
Iterable
iterable typehint
Mixed
mixed typehint (php 8.0+)
ClassEntry(String)
ClassEntry typehint (class, interface)
Trait Implementations§
Source§impl Clone for ArgumentTypeHint
impl Clone for ArgumentTypeHint
Source§fn clone(&self) -> ArgumentTypeHint
fn clone(&self) -> ArgumentTypeHint
Returns a copy 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 ArgumentTypeHint
impl Debug for ArgumentTypeHint
Source§impl PartialEq for ArgumentTypeHint
impl PartialEq for ArgumentTypeHint
impl Eq for ArgumentTypeHint
impl StructuralPartialEq for ArgumentTypeHint
Auto Trait Implementations§
impl Freeze for ArgumentTypeHint
impl RefUnwindSafe for ArgumentTypeHint
impl Send for ArgumentTypeHint
impl Sync for ArgumentTypeHint
impl Unpin for ArgumentTypeHint
impl UnwindSafe for ArgumentTypeHint
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