pub struct Include {
pub path: String,
pub kind: IncludeKind,
}
Expand description
A header to #include.
The cxxbridge tool does not parse or even require the given paths to exist; they simply go into the generated C++ code as #include lines.
Fields§
§path: String
The header’s path, not including the enclosing quotation marks or angle brackets.
kind: IncludeKind
Whether to emit #include "path"
or #include <path>
.
Trait Implementations§
impl StructuralPartialEq for Include
Auto Trait Implementations§
impl Freeze for Include
impl RefUnwindSafe for Include
impl Send for Include
impl Sync for Include
impl Unpin for Include
impl UnwindSafe for Include
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)