pub struct FunctionLogDebugLocation(/* private fields */);Expand description
Debug location information for a function log entry.
C++ equivalent: MTL::FunctionLogDebugLocation
Contains source file location information including URL, line number, column number, and function name.
Implementations§
Source§impl FunctionLogDebugLocation
impl FunctionLogDebugLocation
Sourcepub fn url(&self) -> Option<String>
pub fn url(&self) -> Option<String>
Get the source file URL.
C++ equivalent: NS::URL* URL() const
Sourcepub fn column(&self) -> UInteger
pub fn column(&self) -> UInteger
Get the column number.
C++ equivalent: NS::UInteger column() const
Sourcepub fn function_name(&self) -> Option<String>
pub fn function_name(&self) -> Option<String>
Get the function name.
C++ equivalent: NS::String* functionName() const
Trait Implementations§
Source§impl Clone for FunctionLogDebugLocation
impl Clone for FunctionLogDebugLocation
Source§impl Drop for FunctionLogDebugLocation
impl Drop for FunctionLogDebugLocation
Source§impl Referencing for FunctionLogDebugLocation
impl Referencing for FunctionLogDebugLocation
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for FunctionLogDebugLocation
impl Sync for FunctionLogDebugLocation
Auto Trait Implementations§
impl Freeze for FunctionLogDebugLocation
impl RefUnwindSafe for FunctionLogDebugLocation
impl Unpin for FunctionLogDebugLocation
impl UnwindSafe for FunctionLogDebugLocation
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