Add immutable field to IdlType::Float32Array

This commit is contained in:
Chinedu Francis Nwafili
2019-01-21 19:18:35 -05:00
parent 078823aebd
commit 1738f0772c
7 changed files with 3579 additions and 48 deletions

View File

@ -83,6 +83,9 @@ pub(crate) struct CallbackInterfaceData<'src> {
#[derive(PartialEq, Eq, PartialOrd, Ord, Debug, Clone, Copy)]
pub(crate) enum OperationId<'src> {
Constructor(IgnoreTraits<&'src str>),
/// The name of a function in crates/web-sys/webidls/enabled/*.webidl
///
/// ex: Operation(Some("vertexAttrib1fv"))
Operation(Option<&'src str>),
IndexingGetter,
IndexingSetter,