pub struct SourceMap {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
Source§impl SourceMap
impl SourceMap
Sourcepub async fn column(&self) -> Result<isize, DaggerError>
pub async fn column(&self) -> Result<isize, DaggerError>
The column number within the line.
Sourcepub async fn filename(&self) -> Result<String, DaggerError>
pub async fn filename(&self) -> Result<String, DaggerError>
The filename from the module source.
Sourcepub async fn id(&self) -> Result<SourceMapId, DaggerError>
pub async fn id(&self) -> Result<SourceMapId, DaggerError>
A unique identifier for this SourceMap.
Sourcepub async fn line(&self) -> Result<isize, DaggerError>
pub async fn line(&self) -> Result<isize, DaggerError>
The line number within the filename.
Sourcepub async fn module(&self) -> Result<String, DaggerError>
pub async fn module(&self) -> Result<String, DaggerError>
The module dependency this was declared in.
Sourcepub async fn url(&self) -> Result<String, DaggerError>
pub async fn url(&self) -> Result<String, DaggerError>
The URL to the file, if any. This can be used to link to the source map in the browser.
Trait Implementations§
Source§impl IntoID<SourceMapId> for SourceMap
impl IntoID<SourceMapId> for SourceMap
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<SourceMapId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for SourceMap
impl !RefUnwindSafe for SourceMap
impl Send for SourceMap
impl Sync for SourceMap
impl Unpin for SourceMap
impl !UnwindSafe for SourceMap
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